public class RetryException extends RuntimeException
RetryPolicy.retryOn(Exception).| Constructor and Description |
|---|
RetryException()
Creates a
RetryException with no detail message. |
RetryException(String message)
Creates a
RetryException with the specified detail message. |
RetryException(String message,
Throwable cause)
Constructs a
RetryException with the specified detail message and
exception that was the cause of this exception. |
RetryException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a
RetryException with the specified detail message,
cause, suppression enabled or disabled, and writable stack trace enabled or
disabled. |
RetryException(Throwable cause)
Constructs a
RetryException with the specified exception that was
the cause of this exception. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RetryException()
RetryException with no detail message.public RetryException(String message)
RetryException with the specified detail message.message - The detail message.public RetryException(Throwable cause)
RetryException with the specified exception that was
the cause of this exception.cause - The exception that was the cause of this exception.public RetryException(String message, Throwable cause)
RetryException with the specified detail message and
exception that was the cause of this exception.message - The detail message.cause - The exception that was the cause of this exception.public RetryException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
RetryException with the specified detail message,
cause, suppression enabled or disabled, and writable stack trace enabled or
disabled.message - The detail message.cause - The exception that was the cause of this exception.enableSuppression - Whether or not suppression is enabled or disabled.writableStackTrace - Whether or not the stack trace should be
writable.Copyright © 2020 LightStep. All rights reserved.