|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException wicket.AbortException wicket.protocol.http.servlet.AbortWithWebErrorCodeException
public final class AbortWithWebErrorCodeException
Causes Wicket to abort processing and set the specified HTTP error code, with the provided message if provided.
AbortException
,
WebErrorCodeResponseTarget
,
Serialized FormConstructor Summary | |
---|---|
AbortWithWebErrorCodeException(int errorCode)
Construct. |
|
AbortWithWebErrorCodeException(int errorCode,
java.lang.String message)
Construct. |
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 |
Constructor Detail |
---|
public AbortWithWebErrorCodeException(int errorCode)
errorCode
- the servlet error code; use one of the
HttpServletResponse
constantsHttpServletResponse
public AbortWithWebErrorCodeException(int errorCode, java.lang.String message)
errorCode
- the servlet error code; use one of the
HttpServletResponse
constantsmessage
- the optional message to send to the clientHttpServletResponse
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |