public class ServerException extends RuntimeException
| Constructor and Description |
|---|
ServerException(String message) |
ServerException(String message,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
String |
cause() |
String |
exception() |
static ServerException |
fromResponse(jakarta.ws.rs.core.Response response) |
Throwable |
getCause() |
String |
getMessage() |
String |
message() |
int |
status() |
void |
status(int status) |
String |
toString() |
Object |
trace() |
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ServerException(String message)
public static ServerException fromResponse(jakarta.ws.rs.core.Response response)
public String exception()
public String message()
public String cause()
public Object trace()
public String getMessage()
getMessage in class Throwablepublic void status(int status)
public int status()
Copyright © 2023 The Apache Software Foundation. All rights reserved.