org.apache.shiro.subject
Class ExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.shiro.ShiroException
org.apache.shiro.subject.ExecutionException
- All Implemented Interfaces:
- Serializable
public class ExecutionException
- extends ShiroException
Exception wrapping any potential checked exception thrown when a Subject
executes a
Callable
. This is a nicer alternative than forcing calling code to catch
a normal checked Exception
when it may not be necessary.
If thrown, the causing exception will always be accessible via the getCause()
method.
- Since:
- 1.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ExecutionException
public ExecutionException(Throwable cause)
ExecutionException
public ExecutionException(String message,
Throwable cause)
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.