Class JerseyErrorService

java.lang.Object
org.glassfish.jersey.inject.hk2.JerseyErrorService
All Implemented Interfaces:
org.glassfish.hk2.api.ErrorService

public final class JerseyErrorService extends 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).
  • Constructor Details

    • JerseyErrorService

      public JerseyErrorService()
  • Method Details

    • 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 String printStackTrace(Throwable t)