Class WrapperException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadDataException

public class WrapperException extends RuntimeException
Wraps an exception as a RuntimeException
Version:
$Revision: 1.9 $
Author:
Unidata Development Team
See Also:
  • Constructor Details

    • WrapperException

      public WrapperException(String msg, Throwable inner)
      Wrap a throwable in this Exception
      Parameters:
      msg - message to display
      inner - wrapped Throwable
    • WrapperException

      public WrapperException(Throwable inner)
      Wrap a throwable in this Exception
      Parameters:
      inner - wrapped Throwable
  • Method Details

    • printStackTrace

      public void printStackTrace()
      Print the stack trace for the wrapped exception
      Overrides:
      printStackTrace in class Throwable
    • getException

      public Throwable getException()
      Get the wrapped exception
      Returns:
      wrapped exception
    • toString

      public String toString()
      Get a String representation of this.
      Overrides:
      toString in class Throwable
      Returns:
      a String representation of this.