public class UnitValidationException extends ValidationException
Constructor and Description |
---|
UnitValidationException(Unit concerned,
Body body,
java.lang.String strMessage)
Creates a new ValidationException, treated as an error.
|
UnitValidationException(Unit concerned,
Body body,
java.lang.String strMessage,
boolean isWarning)
Creates a new ValidationException.
|
getConcerned, getRawMessage, isWarning, toString
public UnitValidationException(Unit concerned, Body body, java.lang.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, java.lang.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 feature