org.openstreetmap.osmosis.core.pgsql.common
Class NoSuchRecordException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openstreetmap.osmosis.core.OsmosisRuntimeException
                  extended by org.openstreetmap.osmosis.core.pgsql.common.NoSuchRecordException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchRecordException
extends OsmosisRuntimeException

A runtime exception indicating that the requested database record doesn't exist.

Author:
Brett Henderson
See Also:
Serialized Form

Constructor Summary
NoSuchRecordException()
          Constructs a new exception with null as its detail message.
NoSuchRecordException(java.lang.String message)
          Constructs a new exception with the specified detail message.
NoSuchRecordException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new exception with the specified detail message and cause.
NoSuchRecordException(java.lang.Throwable cause)
          Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
 
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

NoSuchRecordException

public NoSuchRecordException()
Constructs a new exception with null as its detail message.


NoSuchRecordException

public NoSuchRecordException(java.lang.String message)
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).

Parameters:
message - the detail message.

NoSuchRecordException

public NoSuchRecordException(java.lang.Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters:
cause - the cause.

NoSuchRecordException

public NoSuchRecordException(java.lang.String message,
                             java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - the detail message.
cause - the cause.