Class MappableContainerException

java.lang.Object  extended by java.lang.Throwable      extended by java.lang.Exception          extended by java.lang.RuntimeException              extended by com.sun.jersey.api.container.ContainerException                  extended by com.sun.jersey.api.container.MappableContainerException
All Implemented Interfaces:

public class MappableContainerException
extends ContainerException

A runtime exception that contains a cause, a checked or runtime exception, that may be mapped to a Response instance.

The runtime will catch such exceptions and attempt to map the cause exception to a registered ExceptionMapper that provides an appropriate Response instance.

See Also:
Serialized Form

Constructor Summary
MappableContainerException(java.lang.Throwable cause)
Method Summary
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public MappableContainerException(java.lang.Throwable cause)
cause - the cause. If the cause is an instance of MappableContainerException then the cause of this exception will be obtained from the cause of that MappableContainerException instance, and the process will repeat until a cause is obtained that is not an instance of MappableContainerException.

Copyright © 2011
Oracle Corporation. All Rights Reserved.

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