Class ProductErrorMessage


  • public final class ProductErrorMessage
    extends java.lang.Object
    Describes a standard Oracle Error Message which must be of the form:
     PREFIX-nnnnn [PROBLEM] Cause: [CAUSE] Action: [ACTION]
     
    • The prefix must be a alphabetic string identifying the product from which the error originates
    • The code must be a 5 digit zero padded integer, each error condition must have a unique code
    • Each error message must have a localizable description of the problem
    • Each error message must have a localizable description of the cause of the problem
    • Each error message must have a localizable description of how to fix the problem
    Author:
    cdivilly
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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