Package org.bridgedb
Class IDMapperException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.bridgedb.IDMapperException
-
- All Implemented Interfaces:
Serializable
public class IDMapperException extends Exception
for all exceptions thrown by IDMapper interface.Simple wrapper so using classes don't need to deal with implementation details of specific IDMapper implementations.
Usually wraps SQLException, ClassNotFoundException, for IDMapperRdb, XmlRpcException for IDMapperWebservice and IOException for IDMapperText
Simply use the inherited constructor IDMapperException(Throwable cause) to wrap an exception.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IDMapperException()See Exception ().IDMapperException(String msg)See Exception (String).IDMapperException(String msg, Throwable t)See Exception(String, Throwable).IDMapperException(Throwable t)See Exception(Throwable).
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IDMapperException
public IDMapperException(Throwable t)
See Exception(Throwable).- Parameters:
t- cause
-
IDMapperException
public IDMapperException(String msg, Throwable t)
See Exception(String, Throwable).- Parameters:
msg- a messaget- cause
-
IDMapperException
public IDMapperException(String msg)
See Exception (String).- Parameters:
msg- a message
-
IDMapperException
public IDMapperException()
See Exception ().
-
-