Serializable
public class ApiException extends Exception
Constructor | Description |
---|---|
ApiException(String message) |
|
ApiException(String message,
int code) |
|
ApiException(Throwable throwable) |
Modifier and Type | Method | Description |
---|---|---|
int |
getCode() |
Get the HTTP status code.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2019. All rights reserved.