Class ConfigReaderException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConfigReaderException
    extends java.lang.RuntimeException
    Thrown when an error occurs in the Config.
    Author:
    Luna Otte
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigReaderException​(java.lang.String message)
      Constructs a new XMLParserException with an error message
      ConfigReaderException​(java.lang.String message, int lineNumber)
      Constructs a new ConfigReaderException with an error message and a line where the error occurred
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConfigReaderException

        public ConfigReaderException​(java.lang.String message,
                                     int lineNumber)
        Constructs a new ConfigReaderException with an error message and a line where the error occurred
        Parameters:
        message - Error message to be displayed
        lineNumber - Line in the config where the exception occurred
      • ConfigReaderException

        public ConfigReaderException​(java.lang.String message)
        Constructs a new XMLParserException with an error message
        Parameters:
        message - Error message to be displayed