SSPIException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.email.AsposeException

public class SSPIException extends AsposeException

Represents errors that occur during SSPI execution.

``` 1 ```

Constructors

Constructor Description
SSPIException(String message) Initializes a new instance of the SSPIException class with a specified error message.
SSPIException(String format, Object[] parameters) Initializes a new instance of the SSPIException class with a specified error message.
SSPIException() Initializes a new instance of the SSPIException class.
SSPIException(String message, System.Exception innerException) Initializes a new instance of the SSPIException class with a specified error message and a reference to the inner exception that is the cause of this exception.
SSPIException(System.Exception innerException) Initializes a new instance of the SSPIException class with a reference to the inner exception that is the cause of this exception.

Methods

Method Description
getErrorCode() Returns a code of error.

SSPIException(String message)

public SSPIException(String message)

Initializes a new instance of the SSPIException class with a specified error message.

Parameters:

Parameter Type Description
message java.lang.String A message that describes the error.

SSPIException(String format, Object[] parameters)

public SSPIException(String format, Object[] parameters)

Initializes a new instance of the SSPIException class with a specified error message.

Parameters:

Parameter Type Description
format java.lang.String Message format
parameters java.lang.Object[] Format parameters

SSPIException()

public SSPIException()

Initializes a new instance of the SSPIException class.

SSPIException(String message, System.Exception innerException)

public SSPIException(String message, System.Exception innerException)

Initializes a new instance of the SSPIException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Parameters:

Parameter Type Description
message java.lang.String The error message that explains the reason for the exception.
innerException com.aspose.ms.System.Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

SSPIException(System.Exception innerException)

public SSPIException(System.Exception innerException)

Initializes a new instance of the SSPIException class with a reference to the inner exception that is the cause of this exception.

Parameters:

Parameter Type Description
innerException com.aspose.ms.System.Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

getErrorCode()

public final int getErrorCode()

Returns a code of error.

Returns: int