org.apache.shindig.gadgets.render
Class RenderingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.shindig.gadgets.render.RenderingException
All Implemented Interfaces:
Serializable

public class RenderingException
extends Exception

Exceptions thrown during gadget rendering. These execeptions will usually translate directly into an end-user error message, so they should be easily localizable.

See Also:
Serialized Form

Constructor Summary
RenderingException(String message, int httpStatusCode)
           
RenderingException(String message, Throwable t, int httpStatusCode)
           
RenderingException(Throwable t, int httpStatusCode)
           
 
Method Summary
 int getHttpStatusCode()
           
 
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

RenderingException

public RenderingException(Throwable t,
                          int httpStatusCode)

RenderingException

public RenderingException(String message,
                          int httpStatusCode)

RenderingException

public RenderingException(String message,
                          Throwable t,
                          int httpStatusCode)
Method Detail

getHttpStatusCode

public int getHttpStatusCode()


Copyright © 2007-2012. All Rights Reserved.