Class 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 HK2 ErrorService contract.
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JerseyErrorService

        public JerseyErrorService()
    • Method Detail

      • onFailure

        public void onFailure​(org.glassfish.hk2.api.ErrorInformation error)
                       throws org.glassfish.hk2.api.MultiException
        Specified by:
        onFailure in interface org.glassfish.hk2.api.ErrorService
        Throws:
        org.glassfish.hk2.api.MultiException
      • printStackTrace

        private java.lang.String printStackTrace​(java.lang.Throwable t)