com.hp.hpl.jena.rdf.model
Class EmptyListException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.hp.hpl.jena.shared.JenaException
                  extended by com.hp.hpl.jena.rdf.model.EmptyListException
All Implemented Interfaces:
java.io.Serializable

public class EmptyListException
extends JenaException

A exception that is thrown when an operation is attempted on an empty (nil) list that actually requires a list of length one or more.

Version:
Release ($Id: EmptyListException.java,v 1.2 2009/10/06 13:04:43 ian_dickinson Exp $)
Author:
Ian Dickinson, HP Labs (email)
See Also:
Serialized Form

Constructor Summary
EmptyListException()
          Construct an empty list exception with a default message.
EmptyListException(java.lang.String msg)
          Construct an empty list exception with a given message.
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmptyListException

public EmptyListException()
Construct an empty list exception with a default message.


EmptyListException

public EmptyListException(java.lang.String msg)
Construct an empty list exception with a given message.

Parameters:
msg - The exception message.


Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP