public class AeronException extends RuntimeException
| Modifier and Type | Class and Description |
|---|---|
static class |
AeronException.Category
Category of
Exception. |
| Constructor and Description |
|---|
AeronException()
Default Aeron exception as
AeronException.Category.ERROR. |
AeronException(AeronException.Category category)
Default Aeron exception with provided
AeronException.Category. |
AeronException(String message)
Aeron exception with provided message and
AeronException.Category.ERROR. |
AeronException(String message,
AeronException.Category category)
Aeron exception with a detailed message and provided
AeronException.Category. |
AeronException(String message,
Throwable cause)
Aeron exception with a detailed message, cause, and
AeronException.Category.ERROR. |
AeronException(String message,
Throwable cause,
AeronException.Category category)
Aeron exception with a detailed message, cause, and
AeronException.Category. |
AeronException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new Aeron exception with a detail message, cause, suppression enabled or disabled,
and writable stack trace enabled or disabled, in the category
AeronException.Category.ERROR. |
AeronException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
AeronException.Category category)
Constructs a new Aeron exception with a detail message, cause, suppression enabled or disabled,
writable stack trace enabled or disabled, an
AeronException.Category. |
AeronException(Throwable cause)
Aeron exception with provided cause and
AeronException.Category.ERROR. |
AeronException(Throwable cause,
AeronException.Category category)
Aeron exception with cause and provided
AeronException.Category. |
| Modifier and Type | Method and Description |
|---|---|
AeronException.Category |
category()
AeronException.Category of exception for determining what follow-up action can be taken. |
static boolean |
isFatal(Throwable t)
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AeronException()
AeronException.Category.ERROR.public AeronException(AeronException.Category category)
AeronException.Category.category - of this exception.public AeronException(String message)
AeronException.Category.ERROR.message - to detail the exception.public AeronException(Throwable cause)
AeronException.Category.ERROR.cause - of the error.public AeronException(String message, AeronException.Category category)
AeronException.Category.message - providing detail on the error.category - of the exception.public AeronException(String message, Throwable cause)
AeronException.Category.ERROR.message - providing detail on the error.cause - of the error.public AeronException(Throwable cause, AeronException.Category category)
AeronException.Category.cause - of the error.category - of the exception.public AeronException(String message, Throwable cause, AeronException.Category category)
AeronException.Category.message - providing detail on the error.cause - of the error.category - of the exception.public AeronException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
AeronException.Category.ERROR.message - providing detail on the error.cause - of the error.enableSuppression - is suppression enabled or not.writableStackTrace - is the stack trace writable or not.public AeronException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, AeronException.Category category)
AeronException.Category.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.public AeronException.Category category()
AeronException.Category of exception for determining what follow-up action can be taken.AeronException.Category of exception for determining what follow-up action can be taken.public static boolean isFatal(Throwable t)
t - throwable to check if fatal.AeronException.Category.FATAL,
false otherwise.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.