org.loom.exception
Interface HttpThrowable

All Known Implementing Classes:
EntityNotFoundException, HttpException, RuntimeFileNotFoundException, UnhandledValidationErrorsException

public interface HttpThrowable

This is a interface that should be implemented by exceptions that can be associated to a http error, for example http 404 for "not found" errors.


Method Summary
 java.lang.Throwable getCause()
           
 int getHttpError()
           
 

Method Detail

getHttpError

int getHttpError()
Returns:
the HTTP error code that should be returned to the browser for this error.

getCause

java.lang.Throwable getCause()