Class DefaultExceptionResponseFactory

java.lang.Object
org.hawaiiframework.web.exception.DefaultExceptionResponseFactory
All Implemented Interfaces:
ExceptionResponseFactory

@Component public class DefaultExceptionResponseFactory extends Object implements ExceptionResponseFactory
Default implementation of ExceptionResponseFactory. The default implementation creates an ApiErrorResponseResource if the exception is an ApiException and a ErrorResponseResource in all other cases.
Since:
2.0.0
  • Constructor Details

    • DefaultExceptionResponseFactory

      public DefaultExceptionResponseFactory()
  • Method Details