com.iparelan.util.validation
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.iparelan.util.validation.ValidationException
- All Implemented Interfaces:
- Serializable
@Generated(value="com.iparelan.jet.Jet",
date="2008-07-28T11:54:01.124-0400")
public class ValidationException
- extends RuntimeException
A validation exception.
- See Also:
- Serialized Form
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
LINE_SEPARATOR
private static final String LINE_SEPARATOR
ValidationException
public ValidationException(String msg)
- Creates a
ValidationException
.
- Parameters:
msg
- A message describing this error.
May not be null
.
ValidationException
public ValidationException(Throwable cause)
- Creates a
ValidationException
.
- Parameters:
cause
- The error that caused this error.
May not be null
.
ValidationException
public ValidationException(String msg,
Throwable cause)
- Creates a
ValidationException
.
- Parameters:
msg
- A message describing this error.
May not be null
.cause
- The error that caused this error.
May not be null
.
getLikelyErrorLocation
private String getLikelyErrorLocation()
- Produces a description of the likely location of the error that
discards stack information associated with validation logic.
- Returns:
- A description of the likely location of the error. Never
null
.
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
Copyright © 2008 Iparelan Solutions, LLC. All rights reserved.