Package org.biojava.directory
Class RegistryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.biojava.directory.RegistryException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProviderNotFoundException
public class RegistryException extends Exception
ARegistryException
thrown when the registry cannot find an implementation of a requestedSequenceDB
.- Version:
- $Revision$
- Author:
- Brian Gilman, Thomas Down, Keith James, Matthew Pocock
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegistryException()
Creates a newRegistryException
with no detail message.RegistryException(String message)
Creates a newRegistryException
with the specified detail message.RegistryException(String message, Throwable t)
RegistryException(Throwable t)
Creates a newRegistryException
with no detail message, wrapping anotherThrowable
.RegistryException(Throwable t, String message)
Deprecated.use new RegistryException(message, cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RegistryException
public RegistryException()
Creates a newRegistryException
with no detail message.
-
RegistryException
public RegistryException(String message)
Creates a newRegistryException
with the specified detail message.- Parameters:
message
- aString
.
-
RegistryException
public RegistryException(Throwable t)
Creates a newRegistryException
with no detail message, wrapping anotherThrowable
.- Parameters:
t
- aThrowable
.
-
RegistryException
public RegistryException(Throwable t, String message)
Deprecated.use new RegistryException(message, cause)Creates a newRegistryException
with the specified detail message, wrapping anotherThrowable
.- Parameters:
t
- aThrowable
.message
- aString
.
-
RegistryException
public RegistryException(String message, Throwable t)
-
-