|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.myfaces.extensions.validator.core.renderkit.exception.SkipRendererDelegationException
public class SkipRendererDelegationException
Exception that can be thrown by a
(RendererInterceptor)
to skip the invocation of the intercepted renderer method.
| Field Summary | |
|---|---|
protected RendererInterceptor |
exceptionSource
|
protected Object |
information
|
| Constructor Summary | |
|---|---|
SkipRendererDelegationException()
Constructor for creating an exception which doesn't skip the invocation of the other interceptors. |
|
SkipRendererDelegationException(boolean skipOtherInterceptors)
Constructor for creating an exception which might skip the invocation of the other interceptors. |
|
SkipRendererDelegationException(boolean skipOtherInterceptors,
RendererInterceptor rendererInterceptor)
Constructor for creating an exception which doesn't skip the invocation of the other interceptors. |
|
| Method Summary | |
|---|---|
Object |
getInformation()
Returns the additional information. |
Object |
getReturnValueOnException(Object currentReturnValue)
Returns the value which should be used as result (if the intercepted method has to provide a return value). |
boolean |
isSkipOtherInterceptors()
Signals if the subsequent interceptors should be skipped. |
void |
setInformation(Object information)
Sets an additional object with information. |
| 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 |
| Field Detail |
|---|
protected RendererInterceptor exceptionSource
protected Object information
| Constructor Detail |
|---|
public SkipRendererDelegationException()
public SkipRendererDelegationException(boolean skipOtherInterceptors)
skipOtherInterceptors - signals if the other interceptors should be skipped.
public SkipRendererDelegationException(boolean skipOtherInterceptors,
RendererInterceptor rendererInterceptor)
RendererInterceptor which threw the exception.
skipOtherInterceptors - signals if the other interceptors should be skipped.rendererInterceptor - interceptor which threw this exception.| Method Detail |
|---|
public void setInformation(Object information)
information - some additional information.public Object getInformation()
public boolean isSkipOtherInterceptors()
public Object getReturnValueOnException(Object currentReturnValue)
currentReturnValue - the original converted value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||