org.marc4j.marc
Class IllegalAddException

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

public class IllegalAddException
extends IllegalArgumentException

Thrown when the addition of the supplied object is illegal.

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

Constructor Summary
IllegalAddException(String className)
          Creates a new Exception indicating that the addttion of the supplied object is illegal.
IllegalAddException(String className, String reason)
          Creates a new Exception indicating that the addttion of the supplied object is illegal.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalAddException

public IllegalAddException(String className)
Creates a new Exception indicating that the addttion of the supplied object is illegal.

Parameters:
className - the class name

IllegalAddException

public IllegalAddException(String className,
                           String reason)
Creates a new Exception indicating that the addttion of the supplied object is illegal.

Parameters:
className - the class name
reason - the reason why the exception is thrown


Copyright © 2002-2006 Bas Peters. All Rights Reserved.