org.apache.shindig.gadgets.rewrite
Class RewritingException

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

public class RewritingException
extends Exception

Exceptions thrown during content rewriting. These exceptions will usually translate directly into an end-user error message, so they should be easily localizable.

See Also:
Serialized Form

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

RewritingException

public RewritingException(Throwable t,
                          int httpStatusCode)

RewritingException

public RewritingException(String message,
                          int httpStatusCode)

RewritingException

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

getHttpStatusCode

public int getHttpStatusCode()


Copyright © 2007-2012. All Rights Reserved.