Package org.bridgedb

Class 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 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 message
        t - cause
      • IDMapperException

        public IDMapperException​(String msg)
        See Exception (String).
        Parameters:
        msg - a message
      • IDMapperException

        public IDMapperException()
        See Exception ().