org.w3c.ddr.simple.exception
Class InitializationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.w3c.ddr.simple.exception.DDRException
              extended by org.w3c.ddr.simple.exception.InitializationException
All Implemented Interfaces:
java.io.Serializable

public class InitializationException
extends DDRException

This exception represents a failure of the DDR system.

Author:
Jo Rabin (dotMobi),
Jose Manuel Cantera Fonseca (Telefonica I+D),
Rotan Hanrahan (MobileAware),
Ignacio Marin (Fundacion CTIC)
Copyright © 2008 W3C® (MIT, ERCIM, Keio), All Rights Reserved.
W3C liability, trademark and document use rules apply.
See Also:
Serialized Form

Field Summary
static int INITIALIZATION_ERROR
          Code for 'General Initialization Error'.
 
Fields inherited from class org.w3c.ddr.simple.exception.DDRException
code, IMPLEMENTATION_ERROR
 
Constructor Summary
InitializationException()
          Constructs an InitializationException instance with a default exception code.
InitializationException(int code, java.lang.String message)
          Constructs an InitializationException instance with a code and human-readable diagnostic message.
InitializationException(int code, java.lang.Throwable thr)
          Constructs an InitializationException instance with a code and Throwable object that may indicate further details of the cause of the exception.
 
Method Summary
 
Methods inherited from class org.w3c.ddr.simple.exception.DDRException
getCode, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INITIALIZATION_ERROR

public static int INITIALIZATION_ERROR
Code for 'General Initialization Error'. This exception code indicates that there was a problem during initialization.

Constructor Detail

InitializationException

public InitializationException()
Constructs an InitializationException instance with a default exception code.


InitializationException

public InitializationException(int code,
                               java.lang.String message)
Constructs an InitializationException instance with a code and human-readable diagnostic message.

Parameters:
code - This should be an implementation-specific code identifying the cause of the exception.
message - Diagnostic message intended for human reading.

InitializationException

public InitializationException(int code,
                               java.lang.Throwable thr)
Constructs an InitializationException instance with a code and Throwable object that may indicate further details of the cause of the exception.

Parameters:
code - This should be an implementation-specific code identifying the cause of the exception.
thr - A Throwable object that may contain further details on the exception.