Class ErrorMessage


  • public class ErrorMessage
    extends java.lang.Object

    Represents an error message in a configuration XML file.

    The attribute id is REQUIRED. A single error code.

    The element description is OPTIONAL. A human-readable UTF-8 encoded text providing additional information, used to assist the client developer in understanding the error that occurred.

    The element URI is OPTIONAL. A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.

    Author:
    Javier Rojas Date: 09.23.2011
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorMessage()  
      ErrorMessage​(java.lang.String id, java.lang.String description, java.lang.String uri)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()  
      java.lang.String getId()  
      java.lang.String getUri()  
      void setDescription​(java.lang.String description)  
      void setId​(java.lang.String id)  
      void setUri​(java.lang.String uri)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorMessage

        public ErrorMessage()
      • ErrorMessage

        public ErrorMessage​(java.lang.String id,
                            java.lang.String description,
                            java.lang.String uri)
    • Method Detail

      • getId

        public java.lang.String getId()
      • setId

        public void setId​(java.lang.String id)
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • getUri

        public java.lang.String getUri()
      • setUri

        public void setUri​(java.lang.String uri)