Class 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 Detail

      • cloneWithNewContext

        public VelocityExceptionUtil cloneWithNewContext​(org.apache.velocity.context.Context p_vc)
        Specified by:
        cloneWithNewContext in interface de.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
      • getErrorResponse

        public de.uplanet.lucy.server.scripting.ErrorResponseData getErrorResponse​(Throwable p_exception)
                                                                            throws IOException
        Throws:
        IOException