cz.cuni.amis.pogamut.pogamutlevelmetadata
Class NoUniqueMetaDataException

Package class diagram package NoUniqueMetaDataException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by cz.cuni.amis.pogamut.pogamutlevelmetadata.NoUniqueMetaDataException
All Implemented Interfaces:
Serializable

public class NoUniqueMetaDataException
extends RuntimeException

Exception thrown when there are multiple candidates for a metadata object to be returned, but only one is expected.

Author:
MaCe
See Also:
Serialized Form

Constructor Summary
NoUniqueMetaDataException(Class metadataClass, int numOccurences)
           
 
Method Summary
 Class getMetadataClass()
           
 int getNumOccurences()
           
 
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

NoUniqueMetaDataException

public NoUniqueMetaDataException(Class metadataClass,
                                 int numOccurences)
Method Detail

getMetadataClass

public Class getMetadataClass()

getNumOccurences

public int getNumOccurences()


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.