Class Error


  • public class Error
    extends java.lang.Object
    Represents Error object.
    • Constructor Summary

      Constructors 
      Constructor Description
      Error()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getDetail()
      Gets the error detail.
      java.lang.Integer getErrorCode()
      Gets the error code.
      java.lang.String getMessage()
      Gets the message.
      java.lang.String getRefId()
      Get the reference ID
      Error setDetail​(java.lang.Object detail)
      Sets the error detail.
      Error setErrorCode​(java.lang.Integer errorCode)
      Sets the error code.
      Error setMessage​(java.lang.String message)
      Sets the message.
      Error setRefId​(java.lang.String refId)
      Set the reference ID
      • Methods inherited from class java.lang.Object

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

      • Error

        public Error()
    • Method Detail

      • getDetail

        public java.lang.Object getDetail()
        Gets the error detail.
        Returns:
        the error detail
      • setDetail

        public Error setDetail​(java.lang.Object detail)
        Sets the error detail.
        Parameters:
        detail - the error detail
      • getMessage

        public java.lang.String getMessage()
        Gets the message.
        Returns:
        the message
      • setMessage

        public Error setMessage​(java.lang.String message)
        Sets the message.
        Parameters:
        message - the new message
      • getErrorCode

        public java.lang.Integer getErrorCode()
        Gets the error code.
        Returns:
        the error code
      • setErrorCode

        public Error setErrorCode​(java.lang.Integer errorCode)
        Sets the error code.
        Parameters:
        errorCode - the new error code
      • getRefId

        public java.lang.String getRefId()
        Get the reference ID
        Returns:
        the refId
      • setRefId

        public Error setRefId​(java.lang.String refId)
        Set the reference ID
        Parameters:
        refId - the reference ID
        Returns:
        the Error Object