package edu.neu.ccs.demeterf.http.server; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** Annotate a method of a Server to handle exceptions. The signature * of the method be one of: * <ul> * <li><tt>public HTTPResp method()</tt></li> * <li><tt>public HTTPResp method(Exception)</tt></li></li> * </ul> */ @Retention(RetentionPolicy.RUNTIME) public @interface ExceptionHandler{ }