org.openstreetmap.osmosis.core
Class OsmosisRuntimeException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EndOfStoreException, NoSuchIndexElementException, NoSuchRecordException

public class OsmosisRuntimeException
extends java.lang.RuntimeException

The root of the unchecked exception hierarchy for the application. All typed runtime exceptions subclass this exception.

Author:
Brett Henderson
See Also:
Serialized Form

Constructor Summary
OsmosisRuntimeException()
          Constructs a new exception with null as its detail message.
OsmosisRuntimeException(java.lang.String message)
          Constructs a new exception with the specified detail message.
OsmosisRuntimeException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new exception with the specified detail message and cause.
OsmosisRuntimeException(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

OsmosisRuntimeException

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


OsmosisRuntimeException

public OsmosisRuntimeException(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.

OsmosisRuntimeException

public OsmosisRuntimeException(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.

OsmosisRuntimeException

public OsmosisRuntimeException(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.