com.ibm.tws.conn.exception
Class ConnPlanException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.tws.util.exception.TWSException
              extended bycom.ibm.tws.conn.exception.ConnPlanException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConnEngineNotMasterException

public class ConnPlanException
extends TWSException

This is the root exception of all the plan specific exceptions.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright
 
Constructor Summary
ConnPlanException(java.lang.String currentMessageID)
          Creates a ConnPlanException from the given message ID.
ConnPlanException(java.lang.String currentMessageID, java.lang.Object[] currentArgs)
          Creates a ConnPlanException from the given message ID and arguments.
ConnPlanException(java.lang.String currentMessageID, java.lang.Object[] currentArgs, java.lang.Throwable e)
          Creates a ConnPlanException from the given message ID, arguments and nested cause.
ConnPlanException(java.lang.String currentCatalog, java.lang.String currentMessageID, java.lang.Object[] currentArgs)
          Creates a ConnPlanException from the given catalog, message ID and arguments.
ConnPlanException(java.lang.String currentMessageID, java.lang.Throwable e)
          Creates a ConnPlanException from the given message ID and nested cause.
ConnPlanException(java.lang.Throwable e)
          Creates a ConnPlanException from the given nested cause.
ConnPlanException(TWSException e)
          Creates a ConnPlanException from the given nested exception.
 
Method Summary
protected static java.lang.String[] buildInsert(java.lang.String s)
          This method returns an array with one element.
protected static java.lang.String[] buildInsert2(java.lang.String s1, java.lang.String s2)
          This method returns an array with two elements.
 
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

ConnPlanException

public ConnPlanException(java.lang.String currentMessageID,
                         java.lang.Object[] currentArgs)
Creates a ConnPlanException from the given message ID and arguments.

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

ConnPlanException

public ConnPlanException(java.lang.Throwable e)
Creates a ConnPlanException from the given nested cause.

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

ConnPlanException

public ConnPlanException(java.lang.String currentMessageID,
                         java.lang.Throwable e)
Creates a ConnPlanException from the given message ID and nested cause.

Parameters:
currentMessageID - The identifier of the message in the connector's message catalog.
e - The nested cause from which this exception was generated.

ConnPlanException

public ConnPlanException(java.lang.String currentMessageID,
                         java.lang.Object[] currentArgs,
                         java.lang.Throwable e)
Creates a ConnPlanException from the given message ID, arguments and nested cause.

Parameters:
currentMessageID - The identifier of the message in the connector's message catalog.
currentArgs - The current arguments of the error message.
e - The nested cause from which this exception was generated.

ConnPlanException

public ConnPlanException(java.lang.String currentMessageID)
Creates a ConnPlanException from the given message ID.

Parameters:
currentMessageID - The identifier of the message in the connector's message catalog.

ConnPlanException

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

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

ConnPlanException

public ConnPlanException(java.lang.String currentCatalog,
                         java.lang.String currentMessageID,
                         java.lang.Object[] currentArgs)
Creates a ConnPlanException from the given catalog, message ID and arguments.

Parameters:
currentCatalog - The message catalog to be used.
currentMessageID - The identifier of the message in the message catalog.
currentArgs - The current arguments of the error message.
Method Detail

buildInsert

protected static java.lang.String[] buildInsert(java.lang.String s)
This method returns an array with one element. The element is the string passed in input. It is used to build message with insert.

Parameters:
s - The String to build as insert
Returns:
String[] the built array of inserts

buildInsert2

protected static java.lang.String[] buildInsert2(java.lang.String s1,
                                                 java.lang.String s2)
This method returns an array with two elements. The elements are the strings passed in input. It is used to build message with insert.

Parameters:
s1 - The first String to build as first insert
s2 - The second String to build as second insert
Returns:
String[] the built array of inserts


Copyright © 2005 IBM All Rights Reserved.