AsposeBadServerResponceException

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

public class AsposeBadServerResponceException extends AsposeException

Represents errors that occur during server operation execution.

``` 1 ```

Constructors

Constructor Description
AsposeBadServerResponceException(String message) Initializes a new instance of the AsposeBadServerResponceException class with a specified error message.
AsposeBadServerResponceException() Initializes a new instance of the AsposeBadServerResponceException class.
AsposeBadServerResponceException(String message, RuntimeException innerException) Initializes a new instance of the AsposeBadServerResponceException class with a specified error message and a reference to the inner exception that is the cause of this exception.
AsposeBadServerResponceException(RuntimeException innerException) Initializes a new instance of the AsposeBadServerResponceException class with a reference to the inner exception that is the cause of this exception.

Methods

Method Description
getErrorCode() Returns a code of error.

AsposeBadServerResponceException(String message)

public AsposeBadServerResponceException(String message)

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

Parameters:

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

AsposeBadServerResponceException()

public AsposeBadServerResponceException()

Initializes a new instance of the AsposeBadServerResponceException class.

AsposeBadServerResponceException(String message, RuntimeException innerException)

public AsposeBadServerResponceException(String message, RuntimeException innerException)

Initializes a new instance of the AsposeBadServerResponceException 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 java.lang.RuntimeException The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

AsposeBadServerResponceException(RuntimeException innerException)

public AsposeBadServerResponceException(RuntimeException innerException)

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

Parameters:

Parameter Type Description
innerException java.lang.RuntimeException 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