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

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.hp.hpl.jena.shared.JenaException
                  extended bycom.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.4 2003/08/27 13:05:52 andy_seaborne 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.
 
Methods inherited from class com.hp.hpl.jena.shared.JenaException
getCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, 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-2003 Hewlett-Packard. All Rights Reserved.