Oracle Discussions Java API Reference
10g Release 1 (10.1.2)

B25496-01

oracle.discussions.sdk
Class TdConfigurationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--oracle.discussions.sdk.TdException
                    |
                    +--oracle.discussions.sdk.TdConfigurationException

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, Serialized Form

Fields inherited from class oracle.discussions.sdk.TdException
_exCode, _htRb, _oaParams, _tInternal

 

Constructor Summary
protected TdConfigurationException()
          Sole Constructor.
  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, getMessagePrivate, getParams, getResourceBundle, getResourceBundleName, printStackTrace, printStackTrace, printStackTrace

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, toString

 

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

 

Constructor Detail

TdConfigurationException

protected TdConfigurationException()
Sole Constructor. Assigned protected access specifier so that this is accessible only to the classes that subclass this class and exist in the same package

TdConfigurationException

public TdConfigurationException(java.lang.String exCode)
Constructor which takes in the error code as the argument and constructs the exception object.
Parameters:
exCode - the error code
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:
exCode - the error code
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:
exCode - the error code
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:
exCode - the error code
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:
exCode - the error code
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:
exCode - the error code
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:
exCode - the error code
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:
exCode - the error code
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

Oracle Discussions Java API Reference
10g Release 1 (10.1.2)

B25496-01

Copyright © 2002, 2005, Oracle. All rights reserved.