|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.pmdesigns.jvc.NonStandardResponseException
public final class NonStandardResponseException
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.
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 |
---|
public final int httpCode
public final java.lang.String arg
Constructor Detail |
---|
public NonStandardResponseException(int httpCode, java.lang.String arg)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |