Class VelocityExceptionUtil
java.lang.Object
de.uplanet.lucy.server.scripting.velocity.callables.VelocityExceptionUtil
- All Implemented Interfaces:
de.uplanet.lucy.server.scripting.velocity.ICallableWithVelocityContext
@VelocityCallable("instance")
public final class VelocityExceptionUtil
extends Object
implements de.uplanet.lucy.server.scripting.velocity.ICallableWithVelocityContext
-
Method Summary
Modifier and TypeMethodDescriptioncloneWithNewContext
(org.apache.velocity.context.Context p_vc) de.uplanet.lucy.server.scripting.ErrorResponseData
getErrorResponse
(Throwable p_exception) void
throwException
(String p_strClass, String p_strMessage) void
throwRedirectException
(String p_strTarget) void
throwRedirectException
(String p_strTarget, String p_strMessage)
-
Method Details
-
cloneWithNewContext
- Specified by:
cloneWithNewContext
in interfacede.uplanet.lucy.server.scripting.velocity.ICallableWithVelocityContext
-
throwRedirectException
public void throwRedirectException(String p_strTarget) throws de.uplanet.lucy.server.composer.ixservlet.ComposerRedirectException - Throws:
de.uplanet.lucy.server.composer.ixservlet.ComposerRedirectException
-
throwRedirectException
public void throwRedirectException(String p_strTarget, String p_strMessage) throws de.uplanet.lucy.server.composer.ixservlet.ComposerRedirectException - Throws:
de.uplanet.lucy.server.composer.ixservlet.ComposerRedirectException
-
throwException
- Throws:
Throwable
-
getErrorResponse
public de.uplanet.lucy.server.scripting.ErrorResponseData getErrorResponse(Throwable p_exception) throws IOException - Throws:
IOException
-