| java.lang.Object java.lang.Throwable java.lang.Exception org.apache.beehive.controls.spi.svc.InterceptorPivotException
InterceptorPivotException | public class InterceptorPivotException extends Exception (Code) | | The InterceptorPivotException class declares a checked exception that is thrown by
an Interceptor upon pivoting. For example, if an interceptor wishes to stop a method
from executing further and return a value, it can throw this exception and embed in
the exception the return value that it wishes the method to return.
|
Constructor Summary | |
public | InterceptorPivotException(String interceptorName) Constructs a InterceptorPivotException object with the specified interceptor. | public | InterceptorPivotException(String interceptorName, Object returnValue) Constructs a InterceptorPivotException object with the specified interceptor
and return value for the method that is intercepted. | public | InterceptorPivotException(String interceptorName, Object returnValue, String message) Constructs a ServiceException object using the specified interceptor, the
return value for the method that is intercepted and message. | public | InterceptorPivotException(String interceptorName, String message) Constructs a ServiceException object using the specified interceptor and
a message. |
InterceptorPivotException | public InterceptorPivotException(String interceptorName)(Code) | | Constructs a InterceptorPivotException object with the specified interceptor.
Parameters: interceptorName - name of the interceptor that generated this exception |
InterceptorPivotException | public InterceptorPivotException(String interceptorName, Object returnValue)(Code) | | Constructs a InterceptorPivotException object with the specified interceptor
and return value for the method that is intercepted.
Parameters: interceptorName - name of the interceptor that generated this exception Parameters: returnValue - the return value of the method that is intercepted. |
InterceptorPivotException | public InterceptorPivotException(String interceptorName, Object returnValue, String message)(Code) | | Constructs a ServiceException object using the specified interceptor, the
return value for the method that is intercepted and message.
Parameters: interceptorName - name of the interceptor that generated this exception Parameters: returnValue - the return value of the method that is intercepted. Parameters: message - The message to use. |
InterceptorPivotException | public InterceptorPivotException(String interceptorName, String message)(Code) | | Constructs a ServiceException object using the specified interceptor and
a message.
Parameters: interceptorName - name of the interceptor that generated this exception Parameters: message - The message to use. |
getInterceptorName | public String getInterceptorName()(Code) | | Returns the interceptorName. |
getReturnValue | public Object getReturnValue()(Code) | | Returns the returnValue. |
setInterceptorName | public void setInterceptorName(String interceptorName)(Code) | | Parameters: interceptorName - The interceptorName to set. |
|
|