com.pmdesigns.jvc
Class NonStandardResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.pmdesigns.jvc.NonStandardResponseException
All Implemented Interfaces:
java.io.Serializable

public final class NonStandardResponseException
extends java.lang.RuntimeException

This exception can be thrown during request processing to cause an non-standard (ie not HTTP_OK) response to be returned. For example, this is how you can cause a redirect response.

See Also:
Serialized Form

Field Summary
 java.lang.String arg
           
 int httpCode
           
 
Constructor Summary
NonStandardResponseException(int httpCode, java.lang.String arg)
           
 
Method Summary
 
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

httpCode

public final int httpCode

arg

public final java.lang.String arg
Constructor Detail

NonStandardResponseException

public NonStandardResponseException(int httpCode,
                                    java.lang.String arg)