Package simpleorm.utils
Class SException.Validation
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- simpleorm.utils.SException
-
- simpleorm.utils.SException.Validation
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- SException
public static class SException.Validation extends SException
This Exception thrown by user written code to indicate user data entry errors, especially in the business rule methods. The idea is that the calling method can trap them and present neat messages to the user. Do not use this exception for mysterious internal errors, only for well defined user errors that do not require a stack trace.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class simpleorm.utils.SException
SException.Data, SException.Error, SException.InternalError, SException.Jdbc, SException.Test, SException.Validation
-
-
Constructor Summary
Constructors Constructor Description Validation(java.lang.String message, java.lang.Object... params)
message is formatted with MessageFormat cons(inst, params).
-
Method Summary
-
Methods inherited from class simpleorm.utils.SException
getFieldMeta, getFieldValue, getInstance, getParams, getRecordInstance, getValidator, setFieldMeta, setFieldValue, setInstance, setParams, setRecordInstance, setValidator
-
-