org.apache.shiro.subject
Class ExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.shiro.ShiroException
                  extended by 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

Constructor Summary
ExecutionException(String message, Throwable cause)
           
ExecutionException(Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

ExecutionException

public ExecutionException(Throwable cause)

ExecutionException

public ExecutionException(String message,
                          Throwable cause)


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.