public class TimeoutException
extends java.lang.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(java.lang.String message)
Creates a new instance with the specified
message . |
|
TimeoutException(java.lang.String message,
java.lang.Throwable cause)
Creates a new instance with the specified
message and cause . |
protected |
TimeoutException(java.lang.String message,
java.lang.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(java.lang.Throwable cause)
Creates a new instance with the specified
cause . |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
fillInStackTrace() |
public TimeoutException()
public TimeoutException(java.lang.String message)
message
.public TimeoutException(java.lang.String message, java.lang.Throwable cause)
message
and cause
.public TimeoutException(java.lang.Throwable cause)
cause
.protected TimeoutException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
message
, cause
, suppression enabled or
disabled, and writable stack trace enabled or disabled.