Clean project

This commit is contained in:
Rachel Walker
2012-12-18 17:34:49 -08:00
parent dbd18858eb
commit 60ff377162
6 changed files with 730 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package com.github.raychatter;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ExceptionHandler {
HttpStatus httpStatus() default HttpStatus.INTERNAL_SERVER_ERROR;
String contentType() default MediaType.APPLICATION_XML_VALUE;
}