org.marc4j
Class MarcException

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

public class MarcException
extends RuntimeException

Thrown in various situations by MARC4J; may contain a nested exception.

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

Constructor Summary
MarcException()
          Create a new MarcException with no detail mesage.
MarcException(String message)
          Create a new MarcException with the String specified as an error message.
MarcException(String message, Throwable ex)
          Create a new MarcException with the given Exception base cause and detail message.
 
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

MarcException

public MarcException()
Create a new MarcException with no detail mesage.


MarcException

public MarcException(String message)
Create a new MarcException with the String specified as an error message.

Parameters:
message - information about the cause of the exception

MarcException

public MarcException(String message,
                     Throwable ex)
Create a new MarcException with the given Exception base cause and detail message.

Parameters:
message - information about the cause of the exception
ex - the nested exception that caused this exception


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