Class RestErrorResponseMapper<T extends RestServiceException>

  • Type Parameters:
    T - A Class representing the Exception which extends RestServiceException to be thrown for the given key

    public abstract class RestErrorResponseMapper<T extends RestServiceException>
    extends java.lang.Object
    Interface for returning the key of type String from REST service error response to instantiate the corresponding interface
    • Constructor Detail

      • RestErrorResponseMapper

        public RestErrorResponseMapper()
    • Method Detail

      • getExceptionKey

        public abstract java.lang.String getExceptionKey()
      • getExceptionClass

        public abstract java.lang.Class<T> getExceptionClass()