public class ApiException extends javax.ws.rs.WebApplicationException implements Serializable
| Constructor and Description |
|---|
ApiException(String msg) |
ApiException(String msg,
int status) |
ApiException(String msg,
javax.ws.rs.core.Response.Status status) |
ApiException(String msg,
Throwable t) |
ApiException(Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
protected static javax.ws.rs.core.Response |
formatExceptionResponse(String message,
javax.ws.rs.core.Response.Status status) |
String |
getMessage() |
javax.ws.rs.core.Response |
getResponse() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ApiException(String msg)
public ApiException(Throwable t)
public ApiException(String msg, int status)
public ApiException(String msg, javax.ws.rs.core.Response.Status status)
public String getMessage()
getMessage in class Throwablepublic javax.ws.rs.core.Response getResponse()
getResponse in class javax.ws.rs.WebApplicationExceptionprotected static javax.ws.rs.core.Response formatExceptionResponse(String message, javax.ws.rs.core.Response.Status status)
Copyright © 2023 Frank!Framework. All rights reserved.