com.ibm.jzos

Class JesVsamException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.io.IOException
          • com.ibm.jzos.JesVsamException
  • All Implemented Interfaces:
    java.io.Serializable


    public class JesVsamException
    extends java.io.IOException
    Exception class used to convey JES exceptions. The category indicates the web service component that produced the error. RC and reason are specific to the category.
    Since:
    2.4.0
    See Also:
    Serialized Form
    • Constructor Detail

      • JesVsamException

        public JesVsamException(int category,
                        int rc,
                        int reason,
                        java.lang.String message)
        General Constructor for JesExceptions
        Parameters:
        category - one of the CATEGORY_XXXX constants
        rc - return code
        reason - reason code
        message - descriptive message
    • Method Detail

      • getCategory

        public int getCategory()
        Return the category (component) responsible for the exception. One of the CATEGORY_XXXX constants
        Returns:
        category
      • setCategory

        public void setCategory(int category)
        Set the category (component) responsible for the exception.
        Parameters:
        category - one of the CATEGORY_XXXX constants
      • getRc

        public int getRc()
        The return code. This value is category specific.
      • setRc

        public void setRc(int rc)
        Set the category specific return code.
        Parameters:
        rc -
      • getReason

        public int getReason()
        The reason code. This value is category specific.
      • setReason

        public void setReason(int reason)
        Set the category specific reason code.
        Parameters:
        reason -
      • toString

        public java.lang.String toString()
        Diagnostic string used by logging framework.
        Overrides:
        toString in class java.lang.Throwable
© Copyright IBM Corporation 2005, 2014.