Package com.variant.client
Class VariantException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.variant.client.VariantException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ServerConnectException
,SessionExpiredException
,UnknownSchemaException
Superclass of all user exceptions thrown by Variant Java Client
- Since:
- 0.7
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionVariantException
(com.variant.share.error.UserError error, String... args) VariantException
(com.variant.share.error.UserError error, Throwable cause, String... args) -
Method Summary
Modifier and TypeMethodDescriptionstatic VariantException
static VariantException
static VariantException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
error
public final com.variant.share.error.UserError error -
args
-
-
Constructor Details
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
- Returns:
-
internal
-
internal
-
internal
public static VariantException internal(com.variant.client.impl.ClientInternalError error, String... args)
-