RetryException Class

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • com.microsoft.bot.connector.authentication.RetryException

public class RetryException
extends java.lang.RuntimeException

Retry exception when the Retry task fails to execute successfully.

Constructor Summary

Constructor Description
RetryException(String message, List<Throwable> withExceptions)

A RetryException with description and list of exceptions.

RetryException(Throwable cause)

A Retry failure caused by an unexpected failure.

Method Summary

Modifier and Type Method and Description
java.util.List<java.lang.Throwable> getExceptions()

A List of exceptions encountered when executing the Retry task.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods inherited from java.lang.Throwable

java.lang.Throwable.addSuppressed java.lang.Throwable.fillInStackTrace java.lang.Throwable.getCause java.lang.Throwable.getLocalizedMessage java.lang.Throwable.getMessage java.lang.Throwable.getStackTrace java.lang.Throwable.getSuppressed java.lang.Throwable.initCause java.lang.Throwable.printStackTrace java.lang.Throwable.printStackTrace java.lang.Throwable.printStackTrace java.lang.Throwable.setStackTrace java.lang.Throwable.toString

Constructor Details

RetryException

public RetryException(String message, List withExceptions)

A RetryException with description and list of exceptions.

Parameters:

message - The message.
withExceptions - The list of exceptions collected by Retry.

RetryException

public RetryException(Throwable cause)

A Retry failure caused by an unexpected failure.

Parameters:

cause - The caught exception.

Method Details

getExceptions

public List getExceptions()

A List of exceptions encountered when executing the Retry task.

Returns:

The List of exceptions.

Applies to