Package ch.tocco.nice2.netui.impl.dwr
Class ExceptionBarrierImpl
java.lang.Object
ch.tocco.nice2.netui.impl.dwr.ExceptionBarrierImpl
- All Implemented Interfaces:
ExceptionBarrier
Exception barrier for DWR RPC Services.
This impl logs exceptions when it makes sense.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionExceptionBarrierImpl
(org.slf4j.Logger log, RunEnvironmentService runEnvironmentService) -
Method Summary
Modifier and TypeMethodDescriptionConverts anyThrowable
into a simple RuntimeException without confidential info nor stack trace to pass to DWR which passes it to the client after marshalling.Overloaded method without message.
-
Field Details
-
ERROR_ID_KEY
- See Also:
-
-
Constructor Details
-
ExceptionBarrierImpl
-
-
Method Details
-
handle
Description copied from interface:ExceptionBarrier
Converts anyThrowable
into a simple RuntimeException without confidential info nor stack trace to pass to DWR which passes it to the client after marshalling.- Specified by:
handle
in interfaceExceptionBarrier
-
handle
Description copied from interface:ExceptionBarrier
Overloaded method without message.- Specified by:
handle
in interfaceExceptionBarrier
-