Package com.senzing.sdk
Class SzUnrecoverableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.senzing.sdk.SzException
com.senzing.sdk.SzUnrecoverableException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SzDatabaseException
,SzLicenseException
,SzNotInitializedException
,SzUnhandledException
Defines an exceptional condition where the failure is not
recoverable and all operations should be stopped until the
system can be modified to resolve the condition causing the
failure.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.SzUnrecoverableException
(int errorCode, String message) Constructs with a message explaing the reason for the exception.SzUnrecoverableException
(int errorCode, String message, Throwable cause) Constructs with the Senzing error code, the message explaing the reason for the exception and theThrowable
that is the underlying cause for the exception.SzUnrecoverableException
(String message) Constructs with a message explaing the reason for the exception.SzUnrecoverableException
(String message, Throwable cause) Constructs with a message explaing the reason for the exception and theThrowable
that is the underlying cause for the exception.Constructs with theThrowable
that is the underlying cause for the exception. -
Method Summary
Methods inherited from class com.senzing.sdk.SzException
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SzUnrecoverableException
public SzUnrecoverableException()Default constructor. -
SzUnrecoverableException
Constructs with a message explaing the reason for the exception.- Parameters:
message
- The message explaining the reason for the exception.
-
SzUnrecoverableException
Constructs with a message explaing the reason for the exception.- Parameters:
errorCode
- The underlying senzing error code.message
- The message explaining the reason for the exception.
-
SzUnrecoverableException
Constructs with theThrowable
that is the underlying cause for the exception.- Parameters:
cause
- The message The message explaining the reason for the exception.
-
SzUnrecoverableException
Constructs with a message explaing the reason for the exception and theThrowable
that is the underlying cause for the exception.- Parameters:
message
- The message explaining the reason for the exception.cause
- The message The message explaining the reason for the exception.
-
SzUnrecoverableException
Constructs with the Senzing error code, the message explaing the reason for the exception and theThrowable
that is the underlying cause for the exception.- Parameters:
errorCode
- The underlying senzing error code.message
- The message explaining the reason for the exception.cause
- The message The message explaining the reason for the exception.
-