org.semanticdesktop.aperture.rdf
Class MultipleValuesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.semanticdesktop.aperture.rdf.MultipleValuesException
All Implemented Interfaces:
Serializable

public class MultipleValuesException
extends RuntimeException

A MultipleValuesException is thown in cases where an RDF model contains multiple values for a subject-property pair, whereas one or zero values were expected.

See Also:
Serialized Form

Constructor Summary
MultipleValuesException(URI subject, URI property)
           
 
Method Summary
 String getMessage()
           
 URI getProperty()
           
 URI getSubject()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

MultipleValuesException

public MultipleValuesException(URI subject,
                               URI property)
Method Detail

getSubject

public URI getSubject()

getProperty

public URI getProperty()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2010 Aperture Development Team. All Rights Reserved.