Enum SExceptionContext

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SExceptionContext>

    public enum SExceptionContext
    extends java.lang.Enum<SExceptionContext>
    To define the context of an exception in the message.
    Author:
    Celine Souchet
    • Enum Constant Detail

      • PROCESS_DEFINITION_ID

        public static final SExceptionContext PROCESS_DEFINITION_ID
        Corresponding to the identifier of the process definition
      • PROCESS_NAME

        public static final SExceptionContext PROCESS_NAME
        Corresponding to the name of the process definition
      • PROCESS_VERSION

        public static final SExceptionContext PROCESS_VERSION
        Corresponding to the version of the process definition
      • PROCESS_INSTANCE_ID

        public static final SExceptionContext PROCESS_INSTANCE_ID
        Corresponding to the identifier of the process instance
      • ROOT_PROCESS_INSTANCE_ID

        public static final SExceptionContext ROOT_PROCESS_INSTANCE_ID
        Corresponding to the identifier of the root process instance
      • FLOW_NODE_DEFINITION_ID

        public static final SExceptionContext FLOW_NODE_DEFINITION_ID
        Corresponding to the identifier of the flow node definition
      • FLOW_NODE_INSTANCE_ID

        public static final SExceptionContext FLOW_NODE_INSTANCE_ID
        Corresponding to the identifier of the flow node instance
      • FLOW_NODE_NAME

        public static final SExceptionContext FLOW_NODE_NAME
        Corresponding to the name of the flow node
      • MESSAGE_INSTANCE_NAME

        public static final SExceptionContext MESSAGE_INSTANCE_NAME
        Corresponding to the name of the Message Instance
      • MESSAGE_INSTANCE_TARGET_PROCESS_NAME

        public static final SExceptionContext MESSAGE_INSTANCE_TARGET_PROCESS_NAME
        Corresponding to the target process name of the Message Instance
      • MESSAGE_INSTANCE_TARGET_FLOW_NODE_NAME

        public static final SExceptionContext MESSAGE_INSTANCE_TARGET_FLOW_NODE_NAME
        Corresponding to the target flow node name of the Message Instance
      • WAITING_MESSAGE_INSTANCE_TYPE

        public static final SExceptionContext WAITING_MESSAGE_INSTANCE_TYPE
        Corresponding to the event type of the Waiting Message Instance
      • CONNECTOR_DEFINITION_ID

        public static final SExceptionContext CONNECTOR_DEFINITION_ID
        Corresponding to the identifier of the connector definition
      • CONNECTOR_IMPLEMENTATION_CLASS_NAME

        public static final SExceptionContext CONNECTOR_IMPLEMENTATION_CLASS_NAME
        Corresponding to the class name of the implementation of the connector definition
      • CONNECTOR_DEFINITION_VERSION

        public static final SExceptionContext CONNECTOR_DEFINITION_VERSION
        Corresponding to the version of the connector definition
      • CONNECTOR_ACTIVATION_EVENT

        public static final SExceptionContext CONNECTOR_ACTIVATION_EVENT
        Corresponding to the event which activates the connector
      • CONNECTOR_INSTANCE_ID

        public static final SExceptionContext CONNECTOR_INSTANCE_ID
        Corresponding to the identifier of the connector instance
      • USER_ID

        public static final SExceptionContext USER_ID
        Corresponding to the identifier of the user
      • GROUP_ID

        public static final SExceptionContext GROUP_ID
        Corresponding to the identifier of the group
      • ROLE_ID

        public static final SExceptionContext ROLE_ID
        Corresponding to the identifier of the role
      • DOCUMENT_ID

        public static final SExceptionContext DOCUMENT_ID
        Corresponding to the identifier of the document
    • Method Detail

      • values

        public static SExceptionContext[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SExceptionContext c : SExceptionContext.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SExceptionContext valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null