1 package net.secodo.jcircuitbreaker.breakhandler.exception; 2 3 /** 4 * Thrown by implementations of {@link net.secodo.jcircuitbreaker.breakhandler.BreakHandler} to indicate that the 5 * break handler failed to handle <i>break</i> and was not able to provide the fallback value. 6 */ 7 public class BreakHandlerException extends RuntimeException { 8 private static final long serialVersionUID = -8270505759708402748L; 9 10 public BreakHandlerException(String message) { 11 super(message); 12 } 13 14 public BreakHandlerException(String message, Throwable cause) { 15 super(message, cause); 16 } 17 }