|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.biojava.bio.BioRuntimeException
public class BioRuntimeException
A nestable biological exception.
In BioJava, checked exceptions are generally preferred to RuntimeExceptions, but RuntimeExceptions can be used as a fall-back if you are implementing an interface which doesn't support checked exceptions. If you do this, please document this clearly in the implementing class.
| Constructor Summary | |
|---|---|
BioRuntimeException()
Create a new BioRuntimeException. |
|
BioRuntimeException(String message)
Create a new BioRuntimeException with a message. |
|
BioRuntimeException(String message,
Throwable ex)
Create a new BioRuntimeException with a cause and a message. |
|
BioRuntimeException(Throwable ex)
Create a new BioRuntimeException with a cause. |
|
BioRuntimeException(Throwable ex,
String message)
Deprecated. use new BioRuntimeException(message, ex) instead |
|
| 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 |
|---|
public BioRuntimeException(String message)
message - the messagepublic BioRuntimeException(Throwable ex)
ex - the Throwable that caused this BioRuntimeException
public BioRuntimeException(Throwable ex,
String message)
ex - the Throwable that caused this BioRuntimeExceptionmessage - the message
public BioRuntimeException(String message,
Throwable ex)
message - the messageex - the Throwable that caused this BioRuntimeExceptionpublic BioRuntimeException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||