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:
- Serializable
- Enclosing class:
- 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:
- 
Nested Class SummaryNested classes/interfaces inherited from class simpleorm.utils.SExceptionSException.Data, SException.Error, SException.InternalError, SException.Jdbc, SException.Test, SException.Validation
- 
Constructor SummaryConstructorsConstructorDescriptionValidation(String message, Object... params) message is formatted with MessageFormat cons(inst, params).
- 
Method SummaryMethods inherited from class simpleorm.utils.SExceptiongetFieldMeta, getFieldValue, getInstance, getParams, getRecordInstance, getValidator, setFieldMeta, setFieldValue, setInstance, setParams, setRecordInstance, setValidatorMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
Validationmessage is formatted with MessageFormat cons(inst, params). Details such as instance, field, validator class are automatically appended by the caller of the method
 
-