de.smartics.properties.api.config.domain
Class CompoundConfigurationException

Package class diagram package CompoundConfigurationException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.smartics.properties.api.core.app.PropertyRootException
                  extended by de.smartics.properties.api.config.domain.ConfigurationException
                      extended by de.smartics.properties.api.config.domain.CompoundConfigurationException
All Implemented Interfaces:
Serializable

public class CompoundConfigurationException
     
     
extends ConfigurationException

Signals multiple problems with a configuration.

See Also:
Serialized Form

Constructor Summary
CompoundConfigurationException(ConfigurationKey key, List<ConfigurationException> exceptions)
          Convenience constructor without a message and root cause.
CompoundConfigurationException(String message, ConfigurationKey key, List<ConfigurationException> exceptions)
          Convenience constructor without a root cause.
CompoundConfigurationException(String message, Throwable cause, ConfigurationKey key, List<ConfigurationException> exceptions)
          Default constructor.
CompoundConfigurationException(Throwable cause, ConfigurationKey key, List<ConfigurationException> exceptions)
          Convenience constructor without a message.
 
Method Summary
 List<ConfigurationException> getExceptions()
          Returns the list of encountered exceptions.
 
Methods inherited from class de.smartics.properties.api.config.domain.ConfigurationException
getKey
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

CompoundConfigurationException

public CompoundConfigurationException(ConfigurationKey key,
                                      List<ConfigurationException> exceptions)
Convenience constructor without a message and root cause.

Parameters:
key - the key to the configuration that signaled problems.
exceptions - the list of encountered exceptions.

CompoundConfigurationException

public CompoundConfigurationException(String message,
                                      ConfigurationKey key,
                                      List<ConfigurationException> exceptions)
Convenience constructor without a root cause.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
key - the key to the configuration that signaled problems.
exceptions - the list of encountered exceptions.

CompoundConfigurationException

public CompoundConfigurationException(Throwable cause,
                                      ConfigurationKey key,
                                      List<ConfigurationException> exceptions)
Convenience constructor without a message.

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
key - the key to the configuration that signaled problems.
exceptions - the list of encountered exceptions.

CompoundConfigurationException

public CompoundConfigurationException(String message,
                                      Throwable cause,
                                      ConfigurationKey key,
                                      List<ConfigurationException> exceptions)
Default constructor.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
key - the key to the configuration that signaled problems.
exceptions - the list of encountered exceptions.
Method Detail

getExceptions

public final List<ConfigurationException> getExceptions()
Returns the list of encountered exceptions.

Returns:
the list of encountered exceptions.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.