Oracle Collaboration Suite Discussions Java API Reference
10g (10.1.1)

Part No. B16232-01


oracle.discussions.sdk
Class TdConfigurationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byoracle.discussions.sdk.TdException
              extended byoracle.discussions.sdk.TdConfigurationException

All Implemented Interfaces:
java.io.Serializable

public class TdConfigurationException
extends TdException

Will be raised when the supplied configuration parameters are leading to an exception.

Sample code snippet illustrating the usage of TdConfigurationException.

 String oracle_home = (String) tdsp.get("oracle.home");
 if (oracle_home == null)
 {
    throw new TdConfigurationException(TdExceptionConstants.TD_ORACLE_HOME_NOT_DEFINED);
 } 
 
Since:
OCS 10.1.1
See Also:
TdException.java, Serialized Form

Constructor Summary
TdConfigurationException(java.lang.String exCode)
Constructor which takes in the error code as the argument and constructs the exception object.
TdConfigurationException(java.lang.String exCode, java.lang.Object arg1)
Constructor which takes in the error code and an object as arguments and constructs the exception object.
TdConfigurationException(java.lang.String exCode, java.lang.Object arg1, java.lang.Object arg2)
Constructor which takes in the error code and two objects as arguments and constructs the exception object.
TdConfigurationException(java.lang.String exCode, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
Constructor which takes in the error code and three objects as arguments and constructs the exception object.
TdConfigurationException(java.lang.String exCode, java.lang.Throwable t)
Constructor which takes in the error code and a throwable object as arguments and constructs the exception object.
TdConfigurationException(java.lang.String exCode, java.lang.Throwable t, java.lang.Object arg1)
Constructor which takes in the error code,an object and a throwable object as arguments and constructs the exception object.
TdConfigurationException(java.lang.String exCode, java.lang.Throwable t, java.lang.Object arg1, java.lang.Object arg2)
Constructor which takes in the error code,two objects and a throwable object as arguments and constructs the exception object.
TdConfigurationException(java.lang.String exCode, java.lang.Throwable t, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
Constructor which takes in the error code,three objects and a throwable object as arguments and constructs the exception object.

Methods inherited from class oracle.discussions.sdk.TdException
getErrorCode, getInternalThrowable, getLocalizedMessage, getLocalizedMessage, getParams, printStackTrace, printStackTrace, printStackTrace

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, setStackTrace, toString

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

TdConfigurationException

public TdConfigurationException(java.lang.String exCode)
Constructor which takes in the error code as the argument and constructs the exception object.
See Also:
TdException

TdConfigurationException

public TdConfigurationException(java.lang.String exCode,
                                java.lang.Object arg1)
Constructor which takes in the error code and an object as arguments and constructs the exception object.
Parameters:
arg1 - Object which is used to build the exception object
See Also:
TdException

TdConfigurationException

public TdConfigurationException(java.lang.String exCode,
                                java.lang.Object arg1,
                                java.lang.Object arg2)
Constructor which takes in the error code and two objects as arguments and constructs the exception object.
Parameters:
arg1 - Object which is used to build the exception object
arg2 - Object which is used to build the exception object
See Also:
TdException

TdConfigurationException

public TdConfigurationException(java.lang.String exCode,
                                java.lang.Object arg1,
                                java.lang.Object arg2,
                                java.lang.Object arg3)
Constructor which takes in the error code and three objects as arguments and constructs the exception object.
Parameters:
arg1 - Object which is used to build the exception object
arg2 - Object which is used to build the exception object
arg3 - Object which is used to build the exception object
See Also:
TdException

TdConfigurationException

public TdConfigurationException(java.lang.String exCode,
                                java.lang.Throwable t)
Constructor which takes in the error code and a throwable object as arguments and constructs the exception object.
Parameters:
t - Throwable Object which is used to build the exception object
See Also:
TdException

TdConfigurationException

public TdConfigurationException(java.lang.String exCode,
                                java.lang.Throwable t,
                                java.lang.Object arg1)
Constructor which takes in the error code,an object and a throwable object as arguments and constructs the exception object.
Parameters:
t - Throwable Object which is used to build the exception object
arg1 - Object which is used to build the exception object
See Also:
TdException

TdConfigurationException

public TdConfigurationException(java.lang.String exCode,
                                java.lang.Throwable t,
                                java.lang.Object arg1,
                                java.lang.Object arg2)
Constructor which takes in the error code,two objects and a throwable object as arguments and constructs the exception object.
Parameters:
t - Throwable Object which is used to build the exception object
arg1 - Object which is used to build the exception object
arg2 - Object which is used to build the exception object
See Also:
TdException

TdConfigurationException

public TdConfigurationException(java.lang.String exCode,
                                java.lang.Throwable t,
                                java.lang.Object arg1,
                                java.lang.Object arg2,
                                java.lang.Object arg3)
Constructor which takes in the error code,three objects and a throwable object as arguments and constructs the exception object.
Parameters:
t - Throwable Object which is used to build the exception object
arg1 - Object which is used to build the exception object
arg2 - Object which is used to build the exception object
See Also:
TdException

Copyright © 2005, Oracle. All rights reserved.