Class ConfigurationException

  • All Implemented Interfaces:
    java.io.Serializable, net.ssehub.easy.basics.messages.IIdentifiable

    public class ConfigurationException
    extends IvmlException
    Implements a specific exception for errors in the configuration.
    Author:
    Holger Eichelberger
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigurationException​(IConfiguration configuration, java.lang.String message, int code)
      Creates a configuration exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IConfiguration getConfiguration()
      Returns the configuration this exception occurs on.
      • 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
      • Methods inherited from interface net.ssehub.easy.basics.messages.IIdentifiable

        getMessage
    • Constructor Detail

      • ConfigurationException

        public ConfigurationException​(IConfiguration configuration,
                                      java.lang.String message,
                                      int code)
        Creates a configuration exception.
        Parameters:
        configuration - the causing configuration (may be null during incremental buildup)
        message - a message explaining the reason for this exception
        code - a code representing the reason
    • Method Detail

      • getConfiguration

        public IConfiguration getConfiguration()
        Returns the configuration this exception occurs on.
        Returns:
        the configuration (may be null during incremental buildup)