Rev 263 |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
// License: GPL. Copyright 2007-2008 by Brett Henderson and other contributors.
package org.openstreetmap.osmosis.core;
/**
* The root of the unchecked exception hierarchy for the application. All typed
* runtime exceptions subclass this exception.
*
* @author Brett Henderson
*/
public class OsmosisRuntimeException
extends RuntimeException {
private static final long serialVersionUID = 1L
;
/**
* Constructs a new exception with <code>null</code> as its detail message.
*/
public OsmosisRuntimeException
() {
super();
}
/**
* Constructs a new exception with the specified detail message. The
* cause is not initialized, and may subsequently be initialized by
* a call to {@link #initCause}.
*
* @param message the detail message.
*/
public OsmosisRuntimeException
(String message
) {
super(message
);
}
/**
* Constructs a new exception with the specified cause and a detail
* message of <tt>(cause==null ? null : cause.toString())</tt> (which
* typically contains the class and detail message of <tt>cause</tt>).
*
* @param cause the cause.
*/
public OsmosisRuntimeException
(Throwable cause
) {
super(cause
);
}
/**
* Constructs a new exception with the specified detail message and
* cause.
*
* @param message the detail message.
* @param cause the cause.
*/
public OsmosisRuntimeException
(String message,
Throwable cause
) {
super(message, cause
);
}
}