de.smartics.properties.api.core.domain
Class DuplicatePropertyDeclarationsException

Package class diagram package DuplicatePropertyDeclarationsException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.smartics.exceptions.AbstractCoreRuntimeException
                  extended by de.smartics.exceptions.i18n.AbstractMessageRuntimeException
                      extended by de.smartics.properties.api.core.app.PropertyRootException
                          extended by de.smartics.properties.api.core.domain.DuplicatePropertyDeclarationsException
All Implemented Interfaces:
de.smartics.exceptions.CoreException, de.smartics.exceptions.i18n.LocalizedException, Serializable

public class DuplicatePropertyDeclarationsException
     
     
extends PropertyRootException

Signals that a set of property descriptor has been encountered twice.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageRuntimeException
messageBean
 
Fields inherited from class de.smartics.exceptions.AbstractCoreRuntimeException
info
 
Constructor Summary
DuplicatePropertyDeclarationsException(List<DuplicatePropertyDeclarationException> exceptions)
          Default constructor.
 
Method Summary
 int getDuplicateCount()
          Returns the count of duplicate property declarations.
 List<DuplicatePropertyDeclarationException> getExceptions()
          Returns the list of property declarations of declaration collisions.
 
Methods inherited from class de.smartics.exceptions.i18n.AbstractMessageRuntimeException
createMessages, createMessages, getCauseTrail, getCauseTrail, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedTextMessage, getLocalizedTextMessage, getLocalizedTextMessage, getMessage, getMessage, getMessage, getMessageBean, getMessages, getMessages, toString
 
Methods inherited from class de.smartics.exceptions.AbstractCoreRuntimeException
getCause, getClassLoader, getCode, getId, getTime, truncateCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.smartics.exceptions.CoreException
getCause, getCode, getId, getStackTrace, getTime, setStackTrace, truncateCause
 

Constructor Detail

DuplicatePropertyDeclarationsException

public DuplicatePropertyDeclarationsException(List<DuplicatePropertyDeclarationException> exceptions)
Default constructor.

Parameters:
exceptions - the list of property declarations of declaration collisions.
Method Detail

getExceptions

public final List<DuplicatePropertyDeclarationException> getExceptions()
Returns the list of property declarations of declaration collisions. This is where two interfaces declare properties with identical keys.

Returns:
the list of property declarations of declaration collisions.

getDuplicateCount

@MessageParam(value="duplicateCount")
public final int getDuplicateCount()
Returns the count of duplicate property declarations.

Returns:
the count of duplicate property declarations.


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