Class WSILException

All Implemented Interfaces:
Serializable

public class WSILException extends Exception
Primary WS-Inpsection exception.
Version:
1.0
Author:
Peter Brittenham
See Also:
  • Field Details

    • throwable

      protected Throwable throwable
      Throwable.
  • Constructor Details

    • WSILException

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

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

      public WSILException(String msg, 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 Details

    • getMessage

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

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