Class XNIException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    XMLParseException

    @Deprecated
    public class XNIException
    extends java.lang.RuntimeException
    Deprecated.
    Please avoid using package provided OOTB and/or migrate code to provide for this package in the custom code
    This exception is the base exception of all XNI exceptions. It can be constructed with an error message or used to wrap another exception object.

    Note: By extending the Java RuntimeException, XNI handlers and components are not required to catch XNI exceptions but may explicitly catch them, if so desired.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      XNIException​(java.lang.Exception exception)
      Deprecated.
      Constructs an XNI exception with a wrapped exception.
      XNIException​(java.lang.String message)
      Deprecated.
      Constructs an XNI exception with a message.
      XNIException​(java.lang.String message, java.lang.Exception exception)
      Deprecated.
      Constructs an XNI exception with a message and wrapped exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Exception getException()
      Deprecated.
      Returns the wrapped exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XNIException

        public XNIException​(java.lang.String message)
        Deprecated.
        Constructs an XNI exception with a message.
        Parameters:
        message - The exception message.
      • XNIException

        public XNIException​(java.lang.Exception exception)
        Deprecated.
        Constructs an XNI exception with a wrapped exception.
        Parameters:
        exception - The wrapped exception.
      • XNIException

        public XNIException​(java.lang.String message,
                            java.lang.Exception exception)
        Deprecated.
        Constructs an XNI exception with a message and wrapped exception.
        Parameters:
        message - The exception message.
        exception - The wrapped exception.
    • Method Detail

      • getException

        public java.lang.Exception getException()
        Deprecated.
        Returns the wrapped exception.