com.ibm.datapower.wamt.clientAPI
Class IncompatibilityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.datapower.wamt.DMgrException
              extended by com.ibm.datapower.wamt.clientAPI.ClientAPIException
                  extended by com.ibm.datapower.wamt.clientAPI.IncompatibilityException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DeviceTypeIncompatibilityException, FeaturesNotEqualException, MissingFeaturesInFirmwareException, ModelTypeIncompatibilityException, UnlicensedFeaturesInFirmwareException

public class IncompatibilityException
extends ClientAPIException

An operation was attempted on two objects, and the objects were incompatible with each other. The operation failed. There are multiple causes for incompatibility, so this is a parent class for other types of incompatibility exception classes.

See Also:
"direct known subclasses", Serialized Form

Field Summary
static java.lang.String COPYRIGHT_2009_2010
           
 
Constructor Summary
IncompatibilityException()
          Create an exception with no message and no cause.
IncompatibilityException(java.lang.String message)
          Create an exception with a message but with no chained cause.
IncompatibilityException(java.lang.String message, java.lang.String msgKey)
          Create an exception with a message and NLS attributes, but with no chained cause.
IncompatibilityException(java.lang.String message, java.lang.String msgKey, java.lang.Object msgParm)
          Create an exception with a message and NLS attributes, but with no chained cause.
IncompatibilityException(java.lang.String message, java.lang.String msgKey, java.lang.Object[] msgParms)
          Create an exception with a message and NLS attributes, but with no chained cause.
IncompatibilityException(java.lang.String message, java.lang.Throwable cause)
          Create an exception with a message and a chained cause.
IncompatibilityException(java.lang.String message, java.lang.Throwable cause, java.lang.String msgKey)
          Create an exception with a message, NLS attributes and a chained cause.
IncompatibilityException(java.lang.String message, java.lang.Throwable cause, java.lang.String msgKey, java.lang.Object msgParm)
          Create an exception with a message, NLS attributes and a chained cause.
IncompatibilityException(java.lang.String message, java.lang.Throwable cause, java.lang.String msgKey, java.lang.Object[] msgParms)
          Create an exception with a message, NLS attributes and a chained cause.
IncompatibilityException(java.lang.Throwable cause)
          Create an exception with a chained cause and no message.
 
Method Summary
 
Methods inherited from class com.ibm.datapower.wamt.DMgrException
getMessage, getMessageExplanation, getMessageExplanation, getMessageUseraction, getMessageUseraction
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT_2009_2010

public static final java.lang.String COPYRIGHT_2009_2010
See Also:
Constant Field Values
Constructor Detail

IncompatibilityException

public IncompatibilityException()
Create an exception with no message and no cause. Please use one of the other constructors to provide as much information about the exception as possible. You really shouldn't be using this zero-argument constructor.


IncompatibilityException

public IncompatibilityException(java.lang.String message)
Create an exception with a message but with no chained cause.

Parameters:
message - a string that provides some explanation/description of the exception

IncompatibilityException

public IncompatibilityException(java.lang.String message,
                                java.lang.String msgKey,
                                java.lang.Object[] msgParms)
Create an exception with a message and NLS attributes, but with no chained cause.

Parameters:
message - a string that provides some explanation/description of the exception. This message should have already been localized for the jvm's locale, if possible.
msgKey - a string giving the key of the NLS enabled message to be used with the exception.
msgParms - an Object[] that gives the attributes to be used with msgKey

IncompatibilityException

public IncompatibilityException(java.lang.String message,
                                java.lang.String msgKey,
                                java.lang.Object msgParm)
Create an exception with a message and NLS attributes, but with no chained cause.

Parameters:
message - a string that provides some explanation/description of the exception. This message should have already been localized for the jvm's locale, if possible.
msgKey - a string giving the key of the NLS enabled message to be used with the exception.
msgParm - an Object that gives the attributes to be used with msgKey

IncompatibilityException

public IncompatibilityException(java.lang.String message,
                                java.lang.String msgKey)
Create an exception with a message and NLS attributes, but with no chained cause.

Parameters:
message - a string that provides some explanation/description of the exception. This message should have already been localized for the jvm's locale, if possible.
msgKey - a string giving the key of the NLS enabled message to be used with the exception.

IncompatibilityException

public IncompatibilityException(java.lang.String message,
                                java.lang.Throwable cause)
Create an exception with a message and a chained cause.

Parameters:
message - string that provides some explanation/description of the exception
cause - a reference to another exception that occurred at a lower level which is the cause for this higher-level exception.

IncompatibilityException

public IncompatibilityException(java.lang.String message,
                                java.lang.Throwable cause,
                                java.lang.String msgKey,
                                java.lang.Object[] msgParms)
Create an exception with a message, NLS attributes and a chained cause.

Parameters:
message - string that provides some explanation/description of the exception. This message should have already been localized for the jvm's locale, if possible.
cause - a reference to another exception that occurred at a lower level which is the cause for this higher-level exception.
msgKey - a string giving the key of the NLS enabled message to be used with the exception.
msgParms - an Object[] that gives the attributes to be used with msgKey

IncompatibilityException

public IncompatibilityException(java.lang.String message,
                                java.lang.Throwable cause,
                                java.lang.String msgKey,
                                java.lang.Object msgParm)
Create an exception with a message, NLS attributes and a chained cause.

Parameters:
message - string that provides some explanation/description of the exception. This message should have already been localized for the jvm's locale, if possible.
cause - a reference to another exception that occurred at a lower level which is the cause for this higher-level exception.
msgKey - a string giving the key of the NLS enabled message to be used with the exception.
msgParm - an Object that gives the attribute to be used with msgKey

IncompatibilityException

public IncompatibilityException(java.lang.String message,
                                java.lang.Throwable cause,
                                java.lang.String msgKey)
Create an exception with a message, NLS attributes and a chained cause.

Parameters:
message - string that provides some explanation/description of the exception. This message should have already been localized for the jvm's locale, if possible.
cause - a reference to another exception that occurred at a lower level which is the cause for this higher-level exception.
msgKey - a string giving the key of the NLS enabled message to be used with the exception.

IncompatibilityException

public IncompatibilityException(java.lang.Throwable cause)
Create an exception with a chained cause and no message.

Parameters:
cause - a reference to another exception that occurred at a lower level which is the cause for this higher-level exception.


© Copyright IBM Corp. 2006, 2010 All Rights Reserved.