Package com.senzing.sdk
Class SzNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.senzing.sdk.SzException
com.senzing.sdk.SzBadInputException
com.senzing.sdk.SzNotFoundException
- All Implemented Interfaces:
Serializable
Extends
SzBadInputException
to define an exceptional condition
where the provided bad input to a Senzing operation is an identifier
that could not be used to successfully locate required data for that
operation.- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor.SzNotFoundException
(int errorCode, String message) Constructs with a message explaing the reason for the exception.SzNotFoundException
(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.SzNotFoundException
(String message) Constructs with a message explaing the reason for the exception.SzNotFoundException
(String message, Throwable cause) Constructs with a message explaing the reason for the exception and theThrowable
that is the underlying cause for the exception.SzNotFoundException
(Throwable cause) 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
-
SzNotFoundException
public SzNotFoundException()Default constructor. -
SzNotFoundException
Constructs with a message explaing the reason for the exception.- Parameters:
message
- The message explaining the reason for the exception.
-
SzNotFoundException
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.
-
SzNotFoundException
Constructs with theThrowable
that is the underlying cause for the exception.- Parameters:
cause
- The message The message explaining the reason for the exception.
-
SzNotFoundException
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.
-
SzNotFoundException
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.
-