org.glassfish.jersey.spi

Interface ExtendedExceptionMapper<T extends Throwable>

  • Type Parameters:
    T - A type of the exception processed by the exception mapper.
    All Superinterfaces:
    javax.ws.rs.ext.ExceptionMapper<T>


    public interface ExtendedExceptionMapper<T extends Throwable>extends javax.ws.rs.ext.ExceptionMapper<T>
    Extension of a exception mapper interface. The exception mapping providers can extend from this interface to add jersey specific functionality to these providers.
    Author:
    Miroslav Fuksa (miroslav.fuksa at oracle.com)
    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      booleanisMappable(T exception)
      Determine whether this provider is able to process a supplied exception instance.
      • Methods inherited from interface javax.ws.rs.ext.ExceptionMapper

        toResponse
    • Method Detail

      • isMappable

        boolean isMappable(T exception)
        Determine whether this provider is able to process a supplied exception instance.

        This method is called only on those exception mapping providers that are able to process the type of the exception as defined by the JAX-RS ExceptionMapper contract. By returning false this method can reject any given exception instance and change the default JAX-RS exception mapper selection behaviour.

        Parameters:
        exception - exception instance which should be processed.
        Returns:
        true if the mapper is able to map the particular exception instance, false otherwise.

Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14