On this page

CircuitBreakingException

public class org.apache.commons.lang3.concurrent.CircuitBreakingException extends RuntimeException[source]

An exception class used for reporting runtime error conditions related to circuit breakers.

Since:

3.5

Constructors

CircuitBreakingException()

Creates a new, uninitialized instance of CircuitBreakingException.

CircuitBreakingException(String)

Creates a new instance of CircuitBreakingException and initializes it with the given message.

CircuitBreakingException(String, Throwable)

Creates a new instance of CircuitBreakingException and initializes it with the given message and cause.

CircuitBreakingException(Throwable)

Creates a new instance of CircuitBreakingException and initializes it with the given cause.

public CircuitBreakingException()[source]

Creates a new, uninitialized instance of CircuitBreakingException.

public CircuitBreakingException(String message)[source]

Creates a new instance of CircuitBreakingException and initializes it with the given message.

Parameters:

message – The error message

public CircuitBreakingException(String message, Throwable cause)[source]

Creates a new instance of CircuitBreakingException and initializes it with the given message and cause.

Parameters:
  • message – The error message

  • cause – The cause of this exception

public CircuitBreakingException(Throwable cause)[source]

Creates a new instance of CircuitBreakingException and initializes it with the given cause.

Parameters:

cause – The cause of this exception