com.ibm.task.api
Class ConflictingTypesException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.task.api.TaskException
-
- com.ibm.task.api.ConflictingTypesException
-
- All Implemented Interfaces:
- java.io.Serializable
public class ConflictingTypesException extends TaskException
Exception class for error message Api.ConflictingTypes.
Thrown when: You passed a type definition that is not unique. For example, you specified a type definition and an element declaration for the indicated type.
User action: Correct the definition and try again.- Since:
- 6.0.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
-
Constructor Summary
Constructors Modifier Constructor and Description ConflictingTypesException(java.lang.Object[] vars)
Constructor.ConflictingTypesException(java.lang.Object[] vars, java.lang.Throwable cause)
Constructor.protected
ConflictingTypesException(java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)
Constructor for subclasses only.protected
ConflictingTypesException(java.lang.String catalog, java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)
Constructor for subclasses only.
-
Method Summary
-
Methods inherited from class com.ibm.task.api.TaskException
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, printStackTrace, printStackTrace, printStackTrace
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConflictingTypesException
public ConflictingTypesException(java.lang.Object[] vars)
Constructor.- Parameters:
vars
- SeeConflictingTypesException(Object[], Throwable)
-
ConflictingTypesException
public ConflictingTypesException(java.lang.Object[] vars, java.lang.Throwable cause)
Constructor.- Parameters:
vars
- An array with 1 substitution variable for CWTKA0071E: Conflicting type definitions for ''{0}''.
{0} is QName of the used type.cause
- The exception that was thrown.
-
ConflictingTypesException
protected ConflictingTypesException(java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)
Constructor for subclasses only. It has package access so it does not show up in the public Javadoc.- Parameters:
key
- The message key.vars
- The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.id
- The message identifier.cause
- The exception that was thrown.
-
ConflictingTypesException
protected ConflictingTypesException(java.lang.String catalog, java.lang.String key, java.lang.Object[] vars, java.lang.String id, java.lang.Throwable cause)
Constructor for subclasses only. It has package access so it does not show up in the public Javadoc.- Parameters:
catalog
- The catalog which have to be used to retrieve the message.key
- The message key.vars
- The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.id
- The message identifier.cause
- The exception that was thrown.
-
-