public class ExternalException extends SystemException
Constructor and Description |
---|
ExternalException()
Initializes a new instance of the ExternalException class with default properties.
|
ExternalException(java.lang.String message)
Initializes a new instance of the ExternalException class with a specified error message.
|
ExternalException(java.lang.String message,
int errorCode)
Initializes a new instance of the ExternalException class with a specified error message and the HRESULT of the error.
|
ExternalException(java.lang.String message,
java.lang.Throwable innerException)
Initializes a new instance of the ExternalException class with a specified error message and a reference to the inner exception that is the cause of this exception.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Gets the HRESULT of the error.
|
public ExternalException()
public ExternalException(java.lang.String message)
message
- The error message that specifies the reason for the exception.public ExternalException(java.lang.String message, java.lang.Throwable innerException)
message
- The error message that explains the reason for the exception.innerException
- The exception that is the cause of the current exception. If the inner parameter is not null, the current exception is raised in a catch block that handles the inner exception.public ExternalException(java.lang.String message, int errorCode)
message
- The error message that specifies the reason for the exception.errorCode
- The HRESULT of the error.