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
public class IllegalFormContentsException extends WrongArgumentException
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IllegalFormContentsException.Category
static class
IllegalFormContentsException.OccupiedIdentityUsedInRequest
-
Constructor Summary
Constructors Constructor Description IllegalFormContentsException(String msg)
IllegalFormContentsException(String msg, int position, IllegalFormContentsException.Category category)
IllegalFormContentsException(String msg, int position, IllegalFormContentsException.Category category, Throwable cause)
IllegalFormContentsException(String msg, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IllegalFormContentsException.Category
getCategory()
int
getPosition()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IllegalFormContentsException
public IllegalFormContentsException(String msg, int position, IllegalFormContentsException.Category category, Throwable cause)
-
IllegalFormContentsException
public IllegalFormContentsException(String msg, int position, IllegalFormContentsException.Category category)
-
IllegalFormContentsException
public IllegalFormContentsException(String msg)
-
-
Method Detail
-
getPosition
public int getPosition()
-
getCategory
public IllegalFormContentsException.Category getCategory()
-
-