Class ErrorConstant


  • public class ErrorConstant
    extends java.lang.Object
    Represents a constant error code value as encoded in a constant values array.

    This class is a type-safe wrapper for a 16-bit int value performing a similar job to ErrorEval.

    • Method Detail

      • getErrorCode

        public int getErrorCode()
      • getText

        public java.lang.String getText()
      • valueOf

        public static ErrorConstant valueOf​(int errorCode)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object