diff options
Diffstat (limited to 'jdisc_core/src/main/java/com/yahoo/jdisc/handler/OverloadException.java')
-rw-r--r-- | jdisc_core/src/main/java/com/yahoo/jdisc/handler/OverloadException.java | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/handler/OverloadException.java b/jdisc_core/src/main/java/com/yahoo/jdisc/handler/OverloadException.java index 20cab5eb249..ba6ff200a51 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/handler/OverloadException.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/handler/OverloadException.java @@ -5,17 +5,14 @@ package com.yahoo.jdisc.handler; * An exception to signal abort current action, as the container is overloaded. * Just unroll state as cheaply as possible. * - * <p> - * The contract of OverloadException (for Jetty) is: - * </p> + * The contract of OverloadException is: * * <ol> - * <li>You must set the response yourself first, or you'll get 500 internal - * server error.</li> - * <li>You must throw it from handleRequest synchronously.</li> + * <li>You must set the response yourself first, or you'll get an internal server error. + * <li>You must throw it from handleRequest synchronously. * </ol> * - * @author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a> + * @author Steinar Knutsen */ public class OverloadException extends RuntimeException { public OverloadException(String message, Throwable cause) { |