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, toString
public 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 Throwable
public javax.ws.rs.core.Response getResponse()
getResponse
in class javax.ws.rs.WebApplicationException
protected static javax.ws.rs.core.Response formatExceptionResponse(String message, javax.ws.rs.core.Response.Status status)
Copyright © 2023 Frank!Framework. All rights reserved.