org.nuxeo.ecm.webengine
Class WebException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.ws.rs.WebApplicationException
org.nuxeo.ecm.webengine.WebException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- IllegalParameterException, ThemeBankException, ThemeEditorException, TypeException, WebDeployException, WebDocumentException, WebResourceNotFoundException, WebSecurityException, WidgetEditorException
public class WebException
- extends javax.ws.rs.WebApplicationException
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WebException
public WebException()
WebException
public WebException(javax.ws.rs.core.Response response)
WebException
public WebException(int status)
WebException
public WebException(javax.ws.rs.core.Response.Status status)
WebException
public WebException(java.lang.String message)
WebException
public WebException(java.lang.String message,
int code)
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
getStatusCode
public int getStatusCode()
getReturnCode
@Deprecated
public int getReturnCode()
- Deprecated.
- For compatibility only.
getResponse
public javax.ws.rs.core.Response getResponse()
- Overrides:
getResponse
in class javax.ws.rs.WebApplicationException
getStackTraceString
public java.lang.String getStackTraceString()
toString
public static java.lang.String toString(java.lang.Throwable t)
toResponse
public static javax.ws.rs.core.Response toResponse(java.lang.Throwable t)
wrap
public static WebException wrap(java.lang.Throwable e)
wrap
public static WebException wrap(java.lang.String message,
java.lang.Throwable e)
handleError
public static java.lang.Object handleError(javax.ws.rs.WebApplicationException e)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.