Class UnmarshalException

    • Constructor Summary

      Constructors 
      Constructor Description
      UnmarshalException​(java.lang.String aMessage)
      Instantiates a new unmarshal exception.
      UnmarshalException​(java.lang.String aMessage, int aOffset)
      Instantiates a new unmarshal exception.
      UnmarshalException​(java.lang.String aMessage, int aOffset, java.lang.Throwable aCause)
      Instantiates a new unmarshal exception.
      UnmarshalException​(java.lang.String aMessage, java.lang.String aErrorCode)
      Instantiates a new unmarshal exception.
      UnmarshalException​(java.lang.String message, java.lang.Throwable cause)
      Instantiates a new unmarshal exception.
      UnmarshalException​(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
      Instantiates a new unmarshal exception.
      UnmarshalException​(java.lang.Throwable cause)
      Instantiates a new unmarshal exception.
      UnmarshalException​(java.lang.Throwable aCause, java.lang.String aErrorCode)
      Instantiates a new unmarshal exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getOffset​()
      In case of a char sequence, the offset represents the position at which unmarshaling failed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    • Constructor Detail

      • UnmarshalException

        public UnmarshalException​(java.lang.String aMessage)
        Instantiates a new unmarshal exception.
        Parameters:
        aMessage - the message
      • UnmarshalException

        public UnmarshalException​(java.lang.String aMessage,
                                  int aOffset,
                                  java.lang.Throwable aCause)
        Instantiates a new unmarshal exception.
        Parameters:
        aMessage - The exception message.
        aOffset - The offset in the char sequence causing problems.
        aCause - The originating exception in question.
      • UnmarshalException

        public UnmarshalException​(java.lang.String aMessage,
                                  int aOffset)
        Instantiates a new unmarshal exception.
        Parameters:
        aMessage - the message
        aOffset - The offset in the char sequence causing problems.
      • UnmarshalException

        public UnmarshalException​(java.lang.String message,
                                  java.lang.Throwable cause)
        Instantiates a new unmarshal exception.
        Parameters:
        message - the message
        cause - the cause
      • UnmarshalException

        public UnmarshalException​(java.lang.Throwable cause)
        Instantiates a new unmarshal exception.
        Parameters:
        cause - the cause
      • UnmarshalException

        public UnmarshalException​(java.lang.String aMessage,
                                  java.lang.String aErrorCode)
        Instantiates a new unmarshal exception.
        Parameters:
        aMessage - the message
        aErrorCode - the error code
      • UnmarshalException

        public UnmarshalException​(java.lang.String aMessage,
                                  java.lang.Throwable aCause,
                                  java.lang.String aErrorCode)
        Instantiates a new unmarshal exception.
        Parameters:
        aMessage - the message
        aCause - the cause
        aErrorCode - the error code
      • UnmarshalException

        public UnmarshalException​(java.lang.Throwable aCause,
                                  java.lang.String aErrorCode)
        Instantiates a new unmarshal exception.
        Parameters:
        aCause - the cause
        aErrorCode - the error code
    • Method Detail

      • getOffset

        public int getOffset​()
        In case of a char sequence, the offset represents the position at which unmarshaling failed.
        Returns:
        The position at which unmarshaling failed or -1 if none such position is available.