org.marc4j.marc
Class IllegalDataElementException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--java.lang.IllegalArgumentException
                          |
                          +--org.marc4j.marc.IllegalDataElementException
All Implemented Interfaces:
Serializable

public class IllegalDataElementException
extends IllegalArgumentException

IllegalDataElementException is thrown when a data element contains invalid characters, like a field or record terminator or a delimiter.

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

Constructor Summary
IllegalDataElementException()
          Creates a new IllegalDataElementException.
IllegalDataElementException(String reason)
          Creates a new IllegalDataElementException.
 
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

IllegalDataElementException

public IllegalDataElementException()

Creates a new IllegalDataElementException.


IllegalDataElementException

public IllegalDataElementException(String reason)

Creates a new IllegalDataElementException.

Parameters:
reason - the reason why the exception is thrown


Copyright 2001-2003 Bas Peters. All Rights Reserved.