org.marc4j.marc
Class IllegalAddException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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 namereason
- the reason why the exception is thrown
Copyright © 2002-2006 Bas Peters. All Rights Reserved.