Package soot.validation
Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- soot.validation.ValidationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnitValidationException
public class ValidationException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetConcerned()StringgetRawMessage()booleanisWarning()StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ValidationException
public ValidationException(Object concerned, String strMessage, String strCompatibilityMessage, boolean isWarning)
Creates a new ValidationException.- Parameters:
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 message
-
ValidationException
public ValidationException(Object concerned, String strMessage, String strCompatibilityMessage)
Creates a new ValidationException, treated as an error.- Parameters:
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 object
-
ValidationException
public ValidationException(Object concerned, String strCompatibilityMessage)
Creates a new ValidationException, treated as an error.- Parameters:
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
-
-