Class JECheck.ECheckMessage

  • Enclosing class:
    JECheck

    public static class JECheck.ECheckMessage
    extends java.lang.Object
    A class representing a message as it produced by ECheck.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ERROR
      An error message
      static int MESSAGE
      Some other message
      static int WARNING
      A warning message
    • Constructor Summary

      Constructors 
      Constructor Description
      ECheckMessage​(java.lang.String rawMessage)
      Creates a new ECheckMessage object by parsing the specified String.
      ECheckMessage​(java.lang.String rawMessage, java.lang.String fileName)  
    • Constructor Detail

      • ECheckMessage

        public ECheckMessage​(java.lang.String rawMessage)
                      throws java.text.ParseException
        Creates a new ECheckMessage object by parsing the specified String.
        Throws:
        java.text.ParseException - if the rawMessage String cannot be parsed.
      • ECheckMessage

        public ECheckMessage​(java.lang.String rawMessage,
                             java.lang.String fileName)
                      throws java.text.ParseException
        Throws:
        java.text.ParseException
    • Method Detail

      • getFileName

        public java.lang.String getFileName()
        DOCUMENT-ME
      • getLineNr

        public int getLineNr()
        Returns the line where the error was. Line numbers start with 1!
      • getType

        public int getType()
        DOCUMENT-ME
      • getWarningLevel

        public int getWarningLevel()
        DOCUMENT-ME
      • getMessage

        public java.lang.String getMessage()
        DOCUMENT-ME
      • getAffectedObject

        public java.lang.Object getAffectedObject()
        DOCUMENT-ME
      • setAffectedObject

        public void setAffectedObject​(java.lang.Object o)
        DOCUMENT-ME
      • toString

        public java.lang.String toString()
        DOCUMENT-ME
        Overrides:
        toString in class java.lang.Object