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 . |
Modifier and Type | Method and Description |
---|---|
Throwable |
fillInStackTrace() |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TimeoutException()
public TimeoutException(String message)
message
.public TimeoutException(String message, Throwable cause)
message
and cause
.public TimeoutException(Throwable cause)
cause
.public Throwable fillInStackTrace()
fillInStackTrace
in class Throwable
© Copyright 2015–2017 LINE Corporation. All rights reserved.