Package org.topbraidlive.client.java
Class ClientException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.topbraidlive.client.java.ClientException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GraphqlClientException
public class ClientException extends RuntimeException
Exception thrown when unrecognized errors (e.g., non-2xx HTTP responses) are received from the server.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientException(int code, String message)
ClientException(String message)
ClientException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-