org.marc4j.marc
Class IllegalAddException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalArgumentException
                  extended byorg.marc4j.marc.IllegalAddException
All Implemented Interfaces:
Serializable

public class IllegalAddException
extends IllegalArgumentException

IllegalAddException is thrown when the addition of the supplied object is illegal.

Version:
$Revision: 1.4 $
Author:
Bas Peters
See Also:
Serialized Form

Constructor Summary
IllegalAddException(String name, String reason)
          Creates an Exception indicating that the addttion of the supplied object is illegal.
 
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

IllegalAddException

public IllegalAddException(String name,
                           String reason)

Creates an Exception indicating that the addttion of the supplied object is illegal.

Parameters:
name - the object name
reason - the reason why the exception is thrown


Copyright © 2001-2004 Bas Peters. All Rights Reserved.