TimeoutException

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

public class TimeoutException extends AsposeException

Represents the exception that is thrown when the time for operation has expired.

Constructors

Constructor Description
TimeoutException(String message) Initializes a new instance of the TimeoutException class.
TimeoutException(String format, Object[] parameters) Initializes a new instance of the TimeoutException class.
TimeoutException(String format, int timeout)
TimeoutException(String format, String command, int timeout)
TimeoutException() Initializes a new instance of the TimeoutException class.

TimeoutException(String message)

public TimeoutException(String message)

Initializes a new instance of the TimeoutException class.

Parameters:

Parameter Type Description
message java.lang.String Message of an exception

TimeoutException(String format, Object[] parameters)

public TimeoutException(String format, Object[] parameters)

Initializes a new instance of the TimeoutException class.

Parameters:

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

TimeoutException(String format, int timeout)

public TimeoutException(String format, int timeout)

Parameters:

Parameter Type Description
format java.lang.String
timeout int

TimeoutException(String format, String command, int timeout)

public TimeoutException(String format, String command, int timeout)

Parameters:

Parameter Type Description
format java.lang.String
command java.lang.String
timeout int

TimeoutException()

public TimeoutException()

Initializes a new instance of the TimeoutException class.