Package de.mid.innovator.srv2api.icw2bp
Class BPErrorHelper
java.lang.Object
de.mid.innovator.srv2api.icw2bp.BPErrorHelper
An 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:
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
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
-