Package com.fauna.exception
Class FaunaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.fauna.exception.FaunaException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ClientException
,CodecException
,NullDocumentException
,ProtocolException
,ServiceException
public class FaunaException extends java.lang.RuntimeException
Represents a general exception for errors encountered within the Fauna client. This exception serves as the base class for other specific exceptions in the drive.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FaunaException(java.lang.String message)
Constructs a newFaunaException
with the specified message.FaunaException(java.lang.String message, java.lang.Throwable err)
Constructs a newFaunaException
with the specified detail message and cause.
-
-
-
Constructor Detail
-
FaunaException
public FaunaException(java.lang.String message)
Constructs a newFaunaException
with the specified message.- Parameters:
message
- AString
describing the reason for the exception.
-
FaunaException
public FaunaException(java.lang.String message, java.lang.Throwable err)
Constructs a newFaunaException
with the specified detail message and cause.- Parameters:
message
- AString
describing the reason for the exception.err
- The underlyingThrowable
cause of the exception.
-
-