Package org.biojava.bibliography
Class BibRefException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.biojava.bibliography.BibRefException
- All Implemented Interfaces:
Serializable
An exception raised when communciation with the BibRef APIs fails.
- Since:
- 1.4
- Author:
- Matthew Pocock
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBibRefException
(String message) Create a new BibRefException with a message.BibRefException
(String message, Throwable cause) Create a nw BibRefException with a message and a root cause.BibRefException
(Throwable cause) Create a new BibRefException with a root cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BibRefException
Create a new BibRefException with a message.- Parameters:
message
- the message of the exception
-
BibRefException
Create a new BibRefException with a root cause.- Parameters:
cause
- the unerlying cause of this exception
-
BibRefException
Create a nw BibRefException with a message and a root cause.- Parameters:
message
- the message for the exceptioncause
- the underlying cuase of this exception
-