Package com.oracle.bmc.circuitbreaker
Class CallNotAllowedException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- com.oracle.bmc.circuitbreaker.CallNotAllowedException
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class CallNotAllowedException extends RuntimeException ACallNotAllowedExceptionsignals that the CircuitBreaker is HALF_OPEN or OPEN and a call is not permitted to be executed.- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static CallNotAllowedExceptioncreateCallNotAllowedException(String message, boolean writableStackTrace)Static method to construct aCallNotAllowedException- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Method Detail- 
createCallNotAllowedExceptionpublic static CallNotAllowedException createCallNotAllowedException(String message, boolean writableStackTrace) Static method to construct aCallNotAllowedException- Parameters:
- message- the detail message.
- writableStackTrace- whether or not the stack trace should be writable
- Returns:
- CallNotAllowedExceptioninstance
 
 
- 
 
-