public class UnitValidationException extends ValidationException
| Constructor and Description |
|---|
UnitValidationException(Unit concerned,
Body body,
String strMessage)
Creates a new ValidationException, treated as an error.
|
UnitValidationException(Unit concerned,
Body body,
String strMessage,
boolean isWarning)
Creates a new ValidationException.
|
getConcerned, getRawMessage, isWarning, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic UnitValidationException(Unit concerned, Body body, String strMessage, boolean isWarning)
concerned - the unit which is concerned and could be highlighted in an IDEbody - the body which contains the concerned unitstrMessage - the message to display in an IDE supporting the concerned featureisWarning - whether the exception can be considered as a warning messagepublic UnitValidationException(Unit concerned, Body body, String strMessage)
body - the body which contains the concerned unitconcerned - 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 featureCopyright © 2020 Soot OSS. All rights reserved.