Package 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 org.apache.shiro.ShiroException
Exception wrapping any potential checked exception thrown when aSubject
executes aCallable
. This is a nicer alternative than forcing calling code to catch a normal checkedException
when it may not be necessary. If thrown, the causing exception will always be accessible via thegetCause()
method.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExecutionException(String message, Throwable cause)
ExecutionException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-