package org.w3c.ddr.simple.exception;
/**
* This exception represents a failure of the DDR system.
*
* @author Jo Rabin (dotMobi)
* @author
Jose Manuel Cantera Fonseca (Telefonica I+D)
* @author
Rotan Hanrahan (MobileAware)
* @author
Ignacio Marin (Fundacion CTIC)
Copyright
* © 2008 W3C® (MIT, ERCIM, Keio), All Rights Reserved.
* W3C liability,
* trademark
* and document
* use rules apply.
*/
public class InitializationException extends DDRException {
/**
* Code for 'General Initialization Error'. This exception code indicates
* that there was a problem during initialization.
*/
public static int INITIALIZATION_ERROR = 300;
/**
* Constructs an InitializationException instance with a default exception
* code.
*/
public InitializationException() {
super();
}
/**
* Constructs an InitializationException instance with a code and
* human-readable diagnostic message.
*
* @param code
* This should be an implementation-specific code identifying the
* cause of the exception.
* @param message
* Diagnostic message intended for human reading.
*/
public InitializationException(int code, String message) {
super(code, message);
}
/**
* Constructs an InitializationException instance with a code and Throwable
* object that may indicate further details of the cause of the exception.
*
* @param code
* This should be an implementation-specific code identifying the
* cause of the exception.
* @param thr
* A Throwable object that may contain further details on the
* exception.
*/
public InitializationException(int code, Throwable thr) {
super(code, thr);
}
}