|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.loom.exception.UnhandledValidationErrorsException
public class UnhandledValidationErrorsException
This exception is raised when there are validation errors but there is no user form to redirect to. This usually means that there is a malformed redirect or GET link somewhere.
Constructor Summary | |
---|---|
UnhandledValidationErrorsException(Messages messages,
MessagesRepository repository)
|
Method Summary | |
---|---|
int |
getHttpError()
400 (malformed request) seems the most appropiate http error to return |
Message |
getLocaleAwareMessage()
|
Messages |
getMessages()
|
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 |
Methods inherited from interface org.loom.exception.HttpThrowable |
---|
getCause |
Constructor Detail |
---|
public UnhandledValidationErrorsException(Messages messages, MessagesRepository repository)
Method Detail |
---|
public Messages getMessages()
public Message getLocaleAwareMessage()
getLocaleAwareMessage
in interface LocaleAwareThrowable
public int getHttpError()
getHttpError
in interface HttpThrowable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |