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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VelocityExceptionUtil
cloneWithNewContext(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 Detail
-
cloneWithNewContext
public VelocityExceptionUtil cloneWithNewContext(org.apache.velocity.context.Context p_vc)
- 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
public void throwException(String p_strClass, String p_strMessage) throws Throwable
- Throws:
Throwable
-
getErrorResponse
public de.uplanet.lucy.server.scripting.ErrorResponseData getErrorResponse(Throwable p_exception) throws IOException
- Throws:
IOException
-
-