Class WrappedRuntimeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.loboevolution.apache.xml.utils.WrappedRuntimeException
All Implemented Interfaces:
Serializable

public class WrappedRuntimeException extends RuntimeException
This class is for throwing important checked exceptions over non-checked methods. It should be used with care, and in limited circumstances.
See Also:
  • Constructor Details

    • WrappedRuntimeException

      public WrappedRuntimeException(Exception e)
      Construct a WrappedRuntimeException from a checked exception.
      Parameters:
      e - Primary checked exception
  • Method Details

    • getException

      public Exception getException()
      Get the checked exception that this runtime exception wraps.
      Returns:
      The primary checked exception