java Programming Glossary: invaliddataexception
JAX-RS using exception mappers http://stackoverflow.com/questions/3293599/jax-rs-using-exception-mappers java.lang.ClassCastException com.example.exception.InvalidDataException cannot be cast to java.lang.Error What am I missing Any advice.. public class InvalidDataMapper implements ExceptionMapper InvalidDataException @Override public Response toResponse InvalidDataException arg0.. InvalidDataException @Override public Response toResponse InvalidDataException arg0 return Response.status Response.Status.BAD_REQUEST .build..
|