Class SzNotFoundException
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.
public class SzNotFoundException : SzBadInputException, ISerializable
- Inheritance
-
SzNotFoundException
- Implements
- Inherited Members
Constructors
SzNotFoundException()
Default constructor.
public SzNotFoundException()
SzNotFoundException(Exception)
Constructs with the {@link Throwable} that is the underlying cause for the exception.
public SzNotFoundException(Exception cause)
Parameters
causeExceptionThe underlying cause for the exception.
SzNotFoundException(long?, string)
Constructs with a message explaining the reason for the exception.
public SzNotFoundException(long? errorCode, string message)
Parameters
errorCodelong?The underlying Senzing error code.
messagestringThe message explaining the reason for the exception.
SzNotFoundException(long?, string, Exception)
Constructs with the Senzing error code, the message explaining the reason
for the exception and the Exception that is the underlying cause
for the exception.
public SzNotFoundException(long? errorCode, string message, Exception cause)
Parameters
errorCodelong?The underlying Senzing error code.
messagestringThe message explaining the reason for the exception.
causeExceptionThe underlying cause for the exception.
SzNotFoundException(string)
Constructs with a message explaining the reason for the exception.
public SzNotFoundException(string message)
Parameters
messagestringThe message explaining the reason for the exception.
SzNotFoundException(string, Exception)
Constructs with a message explaining the reason for the exception and
the Exception that is the underlying cause for the exception.
public SzNotFoundException(string message, Exception cause)