Class ParseException

    • Field Detail

      • fileName

        private String fileName
        Name of the configuration file. May be set after the exception has been created.
    • Constructor Detail

      • ParseException

        public ParseException()
        Constructs a new InvalidConfigurationException with no detail message.
      • ParseException

        public ParseException​(String s)
        Constructs a new InvalidConfigurationException with the specified detail message.
        Parameters:
        s - the detail message.
      • ParseException

        public ParseException​(String s,
                              Throwable cause)
        Constructs a new InvalidConfigurationException with the specified detail message and cause.
        Parameters:
        s - the detail message.
        cause - the cause of the exception
      • ParseException

        public ParseException​(Throwable cause)
        Constructs a new InvalidConfigurationException with the specified cause.
        Parameters:
        cause - the cause of the exception
    • Method Detail

      • setFileName

        public void setFileName​(String fileName)
        Sets the fileName field of the exception.
        Parameters:
        fileName - name of the file holding the configuration definition
      • getMessage

        public String getMessage()
        Returns the detail message string of this throwable.
        Overrides:
        getMessage in class Throwable