com.ibm.tws.conn.exception
Class ConnInvalidParameterException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.tws.util.exception.TWSException
              extended bycom.ibm.tws.conn.exception.ConnException
                  extended bycom.ibm.tws.conn.exception.ConnValidationException
                      extended bycom.ibm.tws.conn.exception.ConnInvalidParameterException
All Implemented Interfaces:
java.io.Serializable

public class ConnInvalidParameterException
extends ConnValidationException

This Exception is thrown when an invalid parameter is passed to TWS API. For example a null TWSObject is passed to AddTWSObject API.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright
 
Constructor Summary
ConnInvalidParameterException(java.lang.String id, java.lang.Object[] inserts)
          Constructor
ConnInvalidParameterException(java.lang.String catalog, java.lang.String id, java.lang.Object[] inserts)
          Constructor
ConnInvalidParameterException(TWSException e)
          Creates a ConnInvalidParameterException from the given nested exception.
 
Methods inherited from class com.ibm.tws.conn.exception.ConnException
buildInsert, buildInsert2
 
Methods inherited from class com.ibm.tws.util.exception.TWSException
getArgs, getCauseMessage, getLocalizedMessage, getLocalizedMessage, getMessage, initialize, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright

Constructor Detail

ConnInvalidParameterException

public ConnInvalidParameterException(java.lang.String id,
                                     java.lang.Object[] inserts)
Constructor

Parameters:
inserts - The current arguments of the error message.
id - The identifier of the message in the connector's message catalog.

ConnInvalidParameterException

public ConnInvalidParameterException(java.lang.String catalog,
                                     java.lang.String id,
                                     java.lang.Object[] inserts)
Constructor

Parameters:
catalog - The catalog of the messages
id - The identifier of the message in the catalog given in input
inserts - The current arguments of the error message.

ConnInvalidParameterException

public ConnInvalidParameterException(TWSException e)
Creates a ConnInvalidParameterException from the given nested exception.

Parameters:
e - The nested cause from which this exception was generated.


Copyright © 2005 IBM All Rights Reserved.