Class ControllerArgumentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.n2oapp.framework.api.exception.N2oException
-
- net.n2oapp.framework.mvc.exception.ControllerArgumentException
-
- All Implemented Interfaces:
Serializable
public class ControllerArgumentException extends N2oException
User: iryabov Date: 10.05.13 Time: 17:41- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ControllerArgumentException(String message)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHttpStatus()static voidthrowRequiredParameter(String paramName)static voidthrowUnknownParameter(String paramName)-
Methods inherited from class net.n2oapp.framework.api.exception.N2oException
addData, getData, getDialog, getField, getLocalizedMessage, getSeverity, getUserMessage, getUserMessageTitle, setData, setDialog, setField, setHttpStatus, setSeverity, setUserMessage, setUserMessageTitle, wrap
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ControllerArgumentException
public ControllerArgumentException(String message)
-
-
Method Detail
-
throwRequiredParameter
public static void throwRequiredParameter(String paramName) throws ControllerArgumentException
- Throws:
ControllerArgumentException
-
throwUnknownParameter
public static void throwUnknownParameter(String paramName) throws ControllerArgumentException
- Throws:
ControllerArgumentException
-
getHttpStatus
public int getHttpStatus()
- Overrides:
getHttpStatusin classN2oException
-
-