de.cau.cs.kieler.core
Class WrappedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.cau.cs.kieler.core.WrappedException
public class WrappedException
- extends RuntimeException
A runtime exception that can be used to wrap checked exceptions. Use this where it is
appropriate to forward an error to the next point where it can be handled (i.e. displayed
to the user) without the need to explicitly declare the error in every method signature.
- Rating

WrappedException
public WrappedException(Throwable cause)
- Create a wrapped exception.
- Parameters:
cause
- the error that caused this exception
WrappedException
public WrappedException(Throwable cause,
String message)
- Create a wrapped exception with additional message.
- Parameters:
cause
- the error that caused this exceptionmessage
- an additional message for information