Package pl.edu.icm.unity.exceptions
Class IllegalFormContentsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.WrongArgumentException
pl.edu.icm.unity.exceptions.IllegalFormContentsException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IdentityExistsException
,IllegalFormContentsException.OccupiedIdentityUsedInRequest
Thrown when there is problem with submitted form (enquiry, registration etc).
Provides details useful for UI to mark wrong field.
- Author:
- K. Benedyczak
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
-
Constructor Summary
ConstructorDescriptionIllegalFormContentsException
(String msg, int position, IllegalFormContentsException.Category category) IllegalFormContentsException
(String msg, int position, IllegalFormContentsException.Category category, Throwable cause) IllegalFormContentsException
(String msg, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionint
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalFormContentsException
public IllegalFormContentsException(String msg, int position, IllegalFormContentsException.Category category, Throwable cause) -
IllegalFormContentsException
public IllegalFormContentsException(String msg, int position, IllegalFormContentsException.Category category) -
IllegalFormContentsException
-
IllegalFormContentsException
-
-
Method Details
-
getPosition
public int getPosition() -
getCategory
-