Class WSILException

  • All Implemented Interfaces:
    java.io.Serializable

    public class WSILException
    extends java.lang.Exception
    Primary WS-Inpsection exception.
    Version:
    1.0
    Author:
    Peter Brittenham
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Throwable throwable
      Throwable.
    • Constructor Summary

      Constructors 
      Constructor Description
      WSILException()
      Create an exception without a message.
      WSILException​(java.lang.String msg)
      Create an exception with a message.
      WSILException​(java.lang.String msg, java.lang.Throwable throwable)
      Create an exception with a message and related exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()
      Returns the String representation of this object's values.
      java.lang.Throwable getTargetException()
      Returns the exception that caused this exception to be created.
      • Methods inherited from class java.lang.Throwable

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • throwable

        protected java.lang.Throwable throwable
        Throwable.
    • Constructor Detail

      • WSILException

        public WSILException()
        Create an exception without a message.
      • WSILException

        public WSILException​(java.lang.String msg)
        Create an exception with a message.
        Parameters:
        msg - the exception message
      • WSILException

        public WSILException​(java.lang.String msg,
                             java.lang.Throwable throwable)
        Create an exception with a message and related exception.
        Parameters:
        msg - the exception message
        throwable - throwable that is related to this exception
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Returns the String representation of this object's values.
        Overrides:
        getMessage in class java.lang.Throwable
        Returns:
        Returns the detail message of this throwable object.
      • getTargetException

        public java.lang.Throwable getTargetException()
        Returns the exception that caused this exception to be created.
        Returns:
        Returns the encapsulated throwable object.