public class SourceValidationException extends ValidationException
ValidationException used to report errors in SourceObjects. Allows the type and location of the error in the source to be specified.| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SourceValidationException.ErrorType
The type of error found in the source 
 | 
| Constructor and Description | 
|---|
SourceValidationException(SourceObject object, SourceValidationException.ErrorType errorType, int start, int end, java.lang.String message)
Create a new SourceValidationException 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getEnd()  | 
SourceValidationException.ErrorType | 
getErrorType()  | 
int | 
getStart()  | 
getPropertyName, getTitle, setPropertyNameappend, getAllMessages, getMessage, getNextException, getObject, getRelatedObjects, setNextException, setRelatedObjectspublic SourceValidationException(SourceObject object, SourceValidationException.ErrorType errorType, int start, int end, java.lang.String message)
object - The Source object containing the errorerrorType - The type of errorstart - The offset in the source to the start of the errorend - The offset in the source to the end of the errormessage - The details of the errorpublic SourceValidationException.ErrorType getErrorType()
public int getStart()
public int getEnd()