| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExceptionHelper
A helper interface which facilitates a unified exception-handling framework for all Jetty-using HTTP servers.
ExceptionHandler| Method Summary | |
|---|---|
 java.lang.Throwable | 
defaultException(org.mortbay.http.HttpRequest ha,
                 org.mortbay.http.HttpResponse hq)
Return the default exception to throw if no specific exception is set.  | 
 SwappingBuffer | 
transformException(SwappingBuffer cxtdoc)
Tranform the supplied CXT document, containing the exception definition, into an HTML page to give to the user.  | 
| Method Detail | 
|---|
java.lang.Throwable defaultException(org.mortbay.http.HttpRequest ha,
                                     org.mortbay.http.HttpResponse hq)
SwappingBuffer transformException(SwappingBuffer cxtdoc)
                                  throws java.io.IOException
java.io.IOException - if the transform goes wrong. If this happens a plainer
        default page is used; not pretty, but it works.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||