public class GPUdbException extends Exception
Modifier and Type | Field and Description |
---|---|
protected boolean |
hadConnectionFailure |
Constructor and Description |
---|
GPUdbException(String message)
Creates a new
GPUdbException with the specified message. |
GPUdbException(String message,
boolean connectionFailure)
Creates a new
GPUdbException with the specified message and a
boolean flag indicating if a connection failure caused this exception. |
GPUdbException(String message,
Throwable cause)
Creates a new
GPUdbException with the specified message and
cause. |
GPUdbException(String message,
Throwable cause,
boolean connectionFailure)
Creates a new
GPUdbException with the specified message, a
cause, and a boolean flag indicating if a connection failure caused this
exception. |
Modifier and Type | Method and Description |
---|---|
boolean |
hadConnectionFailure()
Returns if a connection failure caused this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public GPUdbException(String message)
GPUdbException
with the specified message.message
- the messagepublic GPUdbException(String message, Throwable cause)
GPUdbException
with the specified message and
cause.message
- the messagecause
- the causepublic GPUdbException(String message, Throwable cause, boolean connectionFailure)
GPUdbException
with the specified message, a
cause, and a boolean flag indicating if a connection failure caused this
exception.message
- the messagecause
- the causeconnectionFailure
- boolean flag indicating if there was a connection
failure which caused this exceptionpublic GPUdbException(String message, boolean connectionFailure)
GPUdbException
with the specified message and a
boolean flag indicating if a connection failure caused this exception.message
- the messageconnectionFailure
- boolean flag indicating if there was a connection
failure which caused this exceptionCopyright © 2020. All rights reserved.