public class TimeoutException extends RuntimeException
RuntimeException that is raised when a requested invocation did not complete before its deadline.| Modifier | Constructor and Description |
|---|---|
|
TimeoutException()
Creates a new exception.
|
|
TimeoutException(String message)
Creates a new instance with the specified
message. |
|
TimeoutException(String message,
Throwable cause)
Creates a new instance with the specified
message and cause. |
protected |
TimeoutException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Creates a new instance with the specified
message, cause, suppression enabled or
disabled, and writable stack trace enabled or disabled. |
|
TimeoutException(Throwable cause)
Creates a new instance with the specified
cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TimeoutException()
public TimeoutException(String message)
message.public TimeoutException(String message, Throwable cause)
message and cause.public TimeoutException(Throwable cause)
cause.Copyright © 2020 LeanCloud. All rights reserved.