Class ValidationException

    • 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 feature
        strCompatibilityMessage - the compatibility message containing useful information without supporting the concerned object
        isWarning - 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 feature
        strCompatibilityMessage - 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
    • Method Detail

      • isWarning

        public boolean isWarning()
      • getRawMessage

        public String getRawMessage()
      • getConcerned

        public Object getConcerned()