Package com.gpudb
Class GPUdbException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.gpudb.GPUdbException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BulkInserter.InsertException,GPUdbBase.GPUdbExitException,GPUdbBase.GPUdbFailoverDisabledException,GPUdbBase.GPUdbHAUnavailableException,GPUdbBase.GPUdbHostnameRegexFailureException,GPUdbBase.GPUdbUnauthorizedAccessException,GPUdbBase.SubmitException
public class GPUdbException extends Exception
An exception that occurred during a GPUdb-related operation.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanhadConnectionFailure
-
Constructor Summary
Constructors Constructor Description GPUdbException(String message)Creates a newGPUdbExceptionwith the specified message.GPUdbException(String message, boolean connectionFailure)Creates a newGPUdbExceptionwith the specified message and a boolean flag indicating if a connection failure caused this exception.GPUdbException(String message, Throwable cause)Creates a newGPUdbExceptionwith the specified message and cause.GPUdbException(String message, Throwable cause, boolean connectionFailure)Creates a newGPUdbExceptionwith the specified message, a cause, and a boolean flag indicating if a connection failure caused this exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhadConnectionFailure()Returns if a connection failure caused this exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
GPUdbException
public GPUdbException(String message)
Creates a newGPUdbExceptionwith the specified message.- Parameters:
message- the message
-
GPUdbException
public GPUdbException(String message, Throwable cause)
Creates a newGPUdbExceptionwith the specified message and cause.- Parameters:
message- the messagecause- the cause
-
GPUdbException
public GPUdbException(String message, Throwable cause, boolean connectionFailure)
Creates a newGPUdbExceptionwith the specified message, a cause, and a boolean flag indicating if a connection failure caused this exception.- Parameters:
message- the messagecause- the causeconnectionFailure- boolean flag indicating if there was a connection failure which caused this exception
-
GPUdbException
public GPUdbException(String message, boolean connectionFailure)
Creates a newGPUdbExceptionwith the specified message and a boolean flag indicating if a connection failure caused this exception.- Parameters:
message- the messageconnectionFailure- boolean flag indicating if there was a connection failure which caused this exception
-
-