Constructors Summary |
---|
public ModelValidationException()Creates new ModelValidationException of type {@link #ERROR}
without a detail message and with null as the
offending object.
|
public ModelValidationException(String msg)Constructs a ModelValidationException of type
{@link #ERROR} with the specified detail message and
null as the offending object.
super(msg);
|
public ModelValidationException(Object offendingObject)Constructs a ModelValidationException of type
{@link #ERROR} with the specified offending object and no
detail message.
super();
_offendingObject = offendingObject;
|
public ModelValidationException(Object offendingObject, String msg)Constructs a ModelValidationException of type
{@link #ERROR} with the specified detail message and offending
object.
this(ERROR, offendingObject, msg);
|
public ModelValidationException(int errorType, Object offendingObject, String msg)Constructs a ModelValidationException of the specified
type with the specified detail message and offending object.
super(msg);
_type = errorType;
_offendingObject = offendingObject;
|