org.apache.hadoop.hdfs.web.resources
Class ExceptionHandler
java.lang.Object
org.apache.hadoop.hdfs.web.resources.ExceptionHandler
- All Implemented Interfaces:
- javax.ws.rs.ext.ExceptionMapper<Exception>
@Provider
public class ExceptionHandler
- extends Object
- implements javax.ws.rs.ext.ExceptionMapper<Exception>
Handle exceptions.
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
ExceptionHandler
public ExceptionHandler()
toResponse
public javax.ws.rs.core.Response toResponse(Exception e)
- Specified by:
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<Exception>
Copyright © 2014 Apache Software Foundation. All Rights Reserved.