Parent Directory | Revision Log | Patch
revision 450 by torben, Tue Oct 20 10:26:50 2009 UTC | revision 459 by torben, Wed Oct 21 07:52:08 2009 UTC | |
---|---|---|
# | Line 17 public final class HalfOpenState impleme | Line 17 public final class HalfOpenState impleme |
17 | public void onError(CircuitBreaker circuitBreaker, Exception e) throws Exception | public void onError(CircuitBreaker circuitBreaker, Exception e) throws Exception |
18 | { | { |
19 | circuitBreaker.tripBreaker(); | circuitBreaker.tripBreaker(); |
20 | throw new CircuitBreakerException(e); | throw new CircuitBreakerException("Circuitbreaker, failed in half-open", e); |
21 | } | } |
22 | ||
23 | public String getName() { | public String getName() { |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |