org.glassfish.jersey.server.mvc.spi
Class ViewableContextException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.ws.rs.ProcessingException
                  extended by org.glassfish.jersey.server.ContainerException
                      extended by org.glassfish.jersey.server.mvc.spi.ViewableContextException
All Implemented Interfaces:
java.io.Serializable

public class ViewableContextException
extends ContainerException

A runtime exception associated with errors when resolving a Viewable to a ResolvedViewable by methods on ViewableContext.

Author:
Paul Sandoz (paul.sandoz at oracle.com)
See Also:
Serialized Form

Constructor Summary
ViewableContextException(java.lang.String message)
          Construct a new instance with the supplied message.
ViewableContextException(java.lang.String message, java.lang.Throwable cause)
          Construct a new instance with the supplied message and cause.
ViewableContextException(java.lang.Throwable cause)
          Construct a new instance with the supplied 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

ViewableContextException

public ViewableContextException(java.lang.String message)
Construct a new instance with the supplied message.

Parameters:
message - the message.

ViewableContextException

public ViewableContextException(java.lang.String message,
                                java.lang.Throwable cause)
Construct a new instance with the supplied message and cause.

Parameters:
message - the message.
cause - the Throwable that caused the exception to be thrown.

ViewableContextException

public ViewableContextException(java.lang.Throwable cause)
Construct a new instance with the supplied cause.

Parameters:
cause - the Throwable that caused the exception to be thrown.


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