Class ExecutionException

  • All Implemented Interfaces:
    Serializable

    public class ExecutionException
    extends org.apache.shiro.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 Detail

      • ExecutionException

        public ExecutionException(Throwable cause)
      • ExecutionException

        public ExecutionException(String message,
                                  Throwable cause)