org.multiverse.api.exceptions
Class InvisibleCheckedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.multiverse.api.exceptions.InvisibleCheckedException
- All Implemented Interfaces:
- Serializable
public class InvisibleCheckedException
- extends RuntimeException
A RuntimeException thrown when a checked exception is thrown but can't be rethrown.
The original checked exception can be retrieved by calling the getCause().
- Author:
- Peter Veentjer
- See Also:
- Serialized Form
InvisibleCheckedException
public InvisibleCheckedException(Exception cause)
- Creates a new InvisibleCheckedException with the given cause.
- Parameters:
cause - the cause of the Exception.
getCause
public Exception getCause()
- Overrides:
getCause in class Throwable
Copyright © 2012. All Rights Reserved.