Package io.aeron.exceptions
Class TimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.aeron.exceptions.AeronException
io.aeron.exceptions.TimeoutException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClientTimeoutException,ConductorServiceTimeoutException,DriverTimeoutException
Generic timeout has occurred while waiting on some action or event.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.aeron.exceptions.AeronException
AeronException.Category -
Constructor Summary
ConstructorsModifierConstructorDescriptionDefault timeout exception asAeronException.Category.ERROR.TimeoutException(AeronException.Category category) Timeout Aeron exception with providedAeronException.Category.TimeoutException(String message) Timeout exception with provided message andAeronException.Category.ERROR.TimeoutException(String message, AeronException.Category category) Timeout exception with a detailed message and providedAeronException.Category.protectedTimeoutException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, AeronException.Category category) Constructs a new timeout exception with the detail message, cause, suppression enabled or disabled, writable stack trace enabled or disabled, anAeronException.Category.TimeoutException(String message, Throwable cause, AeronException.Category category) Timeout exception with a detailed message, cause, andAeronException.Category.TimeoutException(Throwable cause, AeronException.Category category) Timeout exception with cause and providedAeronException.Category. -
Method Summary
Methods inherited from class io.aeron.exceptions.AeronException
category, isFatalMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TimeoutException
public TimeoutException()Default timeout exception asAeronException.Category.ERROR. -
TimeoutException
Timeout exception with provided message andAeronException.Category.ERROR.- Parameters:
message- to detail the exception.
-
TimeoutException
Timeout Aeron exception with providedAeronException.Category.- Parameters:
category- of this exception.
-
TimeoutException
Timeout exception with a detailed message and providedAeronException.Category.- Parameters:
message- providing detail on the error.category- of the exception.
-
TimeoutException
Timeout exception with cause and providedAeronException.Category.- Parameters:
cause- of the error.category- of the exception.
-
TimeoutException
Timeout exception with a detailed message, cause, andAeronException.Category.- Parameters:
message- providing detail on the error.cause- of the error.category- of the exception.
-
TimeoutException
protected TimeoutException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, AeronException.Category category) Constructs a new timeout exception with the detail message, cause, suppression enabled or disabled, writable stack trace enabled or disabled, anAeronException.Category.- Parameters:
message- providing detail on the error.cause- of the error.enableSuppression- is suppression enabled or not.writableStackTrace- is the stack trace writable or not.category- of the exception.
-