Class UserProgramJCLErrorException

  • All Implemented Interfaces:
    Serializable

    public class UserProgramJCLErrorException
    extends UserProgramException
    The UserProgramJCLErrorException unchecked exception thrown when an attempt to launch a user program is made but a JCL error occurred. A method will throw this exception when it attempts to launch a user program.
    Since:
    2.0.0
    Version:
    1.0.0
    See Also:
    Serialized Form
    • Constructor Detail

      • UserProgramJCLErrorException

        public UserProgramJCLErrorException​(String message,
                                            String localizedMessage,
                                            String userProcedureName,
                                            String userProgramName)
        Constructs a new user program JCL error exception with the specified detail messages, user procedure name and user program name. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
        Parameters:
        message - the non-localized detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        localizedMessage - the localized description (which is saved for later retrieval by the TopazAPIRuntimeException.getLocalizedMessage() method). (A null value is permitted, in which case getLocalizedMessage() will return the non-localized detail message.)
        userProcedureName - the name of the user procedure associated with this exception.
        userProgramName - the name of the user program associated with this exception
        Since:
        1.0.0
      • UserProgramJCLErrorException

        public UserProgramJCLErrorException​(String message,
                                            String localizedMessage,
                                            Throwable cause,
                                            String userProcedureName,
                                            String userProgramName)
        Constructs a new user program JCL error exception with the specified detail messages, cause, user procedure name and user program name.

        Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

        Parameters:
        message - the non-localized detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        localizedMessage - the localized description (which is saved for later retrieval by the TopazAPIRuntimeException.getLocalizedMessage() method). (A null value is permitted, in which case getLocalizedMessage() will return the non-localized detail message.)
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        userProcedureName - the name of the user procedure associated with this exception.
        userProgramName - the name of the user program associated with this exception
        Since:
        1.0.0