public class ValidationException extends RuntimeException
| Constructor and Description |
|---|
ValidationException(Object concerned,
String strCompatibilityMessage)
Creates a new ValidationException, treated as an error.
|
ValidationException(Object concerned,
String strMessage,
String strCompatibilityMessage)
Creates a new ValidationException, treated as an error.
|
ValidationException(Object concerned,
String strMessage,
String strCompatibilityMessage,
boolean isWarning)
Creates a new ValidationException.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getConcerned() |
String |
getRawMessage() |
boolean |
isWarning() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ValidationException(Object concerned, String strMessage, 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(Object concerned, String strMessage, 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(Object concerned, 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 objectCopyright © 2020 Soot OSS. All rights reserved.