Package de.mid.innovator.srv2api.icw2bp
Class BPErrorHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2bp.BPErrorHelper
-
public abstract class BPErrorHelper extends java.lang.ObjectAn error represents the content of an error event or the fault of a failed operation. An item definition is used to specify the structure of the error. An error is generated when there is a critical problem in the processing of an activity or when the execution of an operation failed.- See Also:
BPError
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BPErrorcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)Create a new Error with template and container.static BPErrorcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)Create a new Error with stereotype and container.
-
-
-
Method Detail
-
create
public static BPError create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Error with stereotype and container.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohContainer- Container for the new element- Throws:
InoNetExceptionSrvErrorException
-
create
public static BPError create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Error with template and container.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementohContainer- Container for the new element- Throws:
InoNetExceptionSrvErrorException
-
-