Top Description Constructors Methods
com.oracle.bmc.circuitbreaker

public Class CallNotAllowedException

extends RuntimeException
Class Inheritance

A CallNotAllowedException signals that the CircuitBreaker is HALF_OPEN or OPEN and a call is not permitted to be executed.

Constructor Summary

AccessConstructor and Description
private
CallNotAllowedException(String message, boolean writableStackTrace)

Method Summary

Modifier and TypeMethod and Description
public static CallNotAllowedException

Returns:

CallNotAllowedException instance
createCallNotAllowedException
(String
the detail message.
message
,
boolean
whether or not the stack trace should be writable
writableStackTrace
)

Static method to construct a CallNotAllowedException

Constructor Detail

CallNotAllowedExceptionback to summary
private CallNotAllowedException(String message, boolean writableStackTrace)

Method Detail

createCallNotAllowedExceptionback to summary
public static CallNotAllowedException createCallNotAllowedException(String message, boolean writableStackTrace)

Static method to construct a CallNotAllowedException

Parameters
message:String

the detail message.

writableStackTrace:boolean

whether or not the stack trace should be writable

Returns:CallNotAllowedException

CallNotAllowedException instance