Class WrappedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class WrappedException
    extends java.lang.RuntimeException
    Wraps a checked exception s.t. it can be thrown from a method that doesn't declare to throw it.
    Author:
    Peter Niederwieser
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WrappedException​(java.lang.String msg, java.lang.Throwable cause)  
      WrappedException​(java.lang.Throwable cause)  
    • Method Summary

      • 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

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

      • WrappedException

        public WrappedException​(java.lang.Throwable cause)
      • WrappedException

        public WrappedException​(java.lang.String msg,
                                java.lang.Throwable cause)