Package org.glassfish.jersey.inject.hk2
Class JerseyErrorService
- java.lang.Object
-
- org.glassfish.jersey.inject.hk2.JerseyErrorService
-
- All Implemented Interfaces:
org.glassfish.hk2.api.ErrorService
public final class JerseyErrorService extends java.lang.Object implements org.glassfish.hk2.api.ErrorService
Jersey implementation of HK2 Error Service to provide improved reporting of HK2 issues, that may be otherwise hidden (ignored).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JerseyErrorService.Binder
Binder for the Jersey implementation of HK2ErrorService
contract.
-
Constructor Summary
Constructors Constructor Description JerseyErrorService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onFailure(org.glassfish.hk2.api.ErrorInformation error)
private java.lang.String
printStackTrace(java.lang.Throwable t)
-
-
-
Method Detail
-
onFailure
public void onFailure(org.glassfish.hk2.api.ErrorInformation error) throws org.glassfish.hk2.api.MultiException
- Specified by:
onFailure
in interfaceorg.glassfish.hk2.api.ErrorService
- Throws:
org.glassfish.hk2.api.MultiException
-
printStackTrace
private java.lang.String printStackTrace(java.lang.Throwable t)
-
-