|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.dev.webdav.addressbook.PersistenceExceptionMapper
@Provider public final class PersistenceExceptionMapper
Maps JPA exceptions to WebDAV Response Codes.
| Constructor Summary | |
|---|---|
PersistenceExceptionMapper()
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
toResponse(javax.persistence.PersistenceException e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistenceExceptionMapper()
| Method Detail |
|---|
public final javax.ws.rs.core.Response toResponse(javax.persistence.PersistenceException e)
toResponse in interface javax.ws.rs.ext.ExceptionMapper<javax.persistence.PersistenceException>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||