Class SzUnhandledException
Extends SzUnrecoverableException to define an exceptional condition caused by an otherwise unhandled and unexpected failure in the Senzing SDK.
public class SzUnhandledException : SzUnrecoverableException, ISerializable
- Inheritance
-
SzUnhandledException
- Implements
- Inherited Members
Constructors
SzUnhandledException()
Default constructor.
public SzUnhandledException()
SzUnhandledException(Exception)
Constructs with the {@link Throwable} that is the underlying cause for the exception.
public SzUnhandledException(Exception cause)
Parameters
causeExceptionThe underlying cause for the exception.
SzUnhandledException(long?, string)
Constructs with a message explaining the reason for the exception.
public SzUnhandledException(long? errorCode, string message)
Parameters
errorCodelong?The underlying Senzing error code.
messagestringThe message explaining the reason for the exception.
SzUnhandledException(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 SzUnhandledException(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.
SzUnhandledException(string)
Constructs with a message explaining the reason for the exception.
public SzUnhandledException(string message)
Parameters
messagestringThe message explaining the reason for the exception.
SzUnhandledException(string, Exception)
Constructs with a message explaining the reason for the exception and
the Exception that is the underlying cause for the exception.
public SzUnhandledException(string message, Exception cause)