Package org.jboss.invocation
Class CannotProceedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- org.jboss.invocation.CannotProceedException
-
- All Implemented Interfaces:
Serializable
public class CannotProceedException extends IllegalStateException
Indicates that an invocation cannot proceed due to the interceptor chain terminating prematurely.- Author:
- David M. Lloyd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CannotProceedException()Constructs aCannotProceedExceptionwith no detail message.CannotProceedException(String msg)Constructs aCannotProceedExceptionwith the specified detail message.CannotProceedException(String msg, Throwable cause)Constructs aCannotProceedExceptionwith the specified detail message and cause.CannotProceedException(Throwable cause)Constructs aCannotProceedExceptionwith the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CannotProceedException
public CannotProceedException()
Constructs aCannotProceedExceptionwith no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause.
-
CannotProceedException
public CannotProceedException(String msg)
Constructs aCannotProceedExceptionwith the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause.- Parameters:
msg- the detail message
-
CannotProceedException
public CannotProceedException(Throwable cause)
Constructs aCannotProceedExceptionwith the specified cause. The detail message is set to:(cause == null ? null : cause.toString())
(which typically contains the class and detail message ofcause).- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-
CannotProceedException
public CannotProceedException(String msg, Throwable cause)
Constructs aCannotProceedExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-
-