public class ValidationException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
ValidationException(java.lang.Object concerned,
java.lang.String strCompatibilityMessage)
Creates a new ValidationException, treated as an error.
|
ValidationException(java.lang.Object concerned,
java.lang.String strMessage,
java.lang.String strCompatibilityMessage)
Creates a new ValidationException, treated as an error.
|
ValidationException(java.lang.Object concerned,
java.lang.String strMessage,
java.lang.String strCompatibilityMessage,
boolean isWarning)
Creates a new ValidationException.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getConcerned() |
java.lang.String |
getRawMessage() |
boolean |
isWarning() |
java.lang.String |
toString() |
public ValidationException(java.lang.Object concerned,
java.lang.String strMessage,
java.lang.String strCompatibilityMessage,
boolean isWarning)
concerned - the object which is concerned and could be highlighted in an IDE; for example an unit, a SootMethod, a SootClass or a local.strMessage - the message to display in an IDE supporting the concerned featurestrCompatibilityMessage - the compatibility message containing useful information without supporting the concerned objectisWarning - whether the exception can be considered as a warning messagepublic ValidationException(java.lang.Object concerned,
java.lang.String strMessage,
java.lang.String strCompatibilityMessage)
concerned - the object which is concerned and could be highlighted in an IDE; for example an unit, a SootMethod, a SootClass or a local.strMessage - the message to display in an IDE supporting the concerned featurestrCompatibilityMessage - the compatibility message containing useful information without supporting the concerned objectpublic ValidationException(java.lang.Object concerned,
java.lang.String strCompatibilityMessage)
concerned - the object which is concerned and could be highlighted in an IDE; for example an unit, a SootMethod, a SootClass or a local.strCompatibilityMessage - the compatibility message containing useful information without supporting the concerned object