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.RuntimeExceptionRepresents 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 newFaunaExceptionwith the specified message.FaunaException(java.lang.String message, java.lang.Throwable err)Constructs a newFaunaExceptionwith the specified detail message and cause.
-
-
-
Constructor Detail
-
FaunaException
public FaunaException(java.lang.String message)
Constructs a newFaunaExceptionwith the specified message.- Parameters:
message- AStringdescribing the reason for the exception.
-
FaunaException
public FaunaException(java.lang.String message, java.lang.Throwable err)Constructs a newFaunaExceptionwith the specified detail message and cause.- Parameters:
message- AStringdescribing the reason for the exception.err- The underlyingThrowablecause of the exception.
-
-