org.openstreetmap.osmosis.core
Class OsmosisException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openstreetmap.osmosis.core.OsmosisException
All Implemented Interfaces:
java.io.Serializable

public abstract class OsmosisException
extends java.lang.Exception

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

Author:
Brett Henderson
See Also:
Serialized Form

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

OsmosisException

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


OsmosisException

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

OsmosisException

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

OsmosisException

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