com.ibm.mm.sdk.common
Class DKUsageError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.mm.sdk.logtool.DKLogException
-
- com.ibm.mm.sdk.common.DKException
-
- com.ibm.mm.sdk.common.DKUsageError
-
- All Implemented Interfaces:
- java.io.Serializable
public class DKUsageError extends DKException
Exception thrown for usage errors in the CM8 API.This exception is thrown when the CM8 API is used incorrectly, such as:
- Passing null parameters where non-null values are required
- Attempting operations on uninitialized objects
- Providing invalid parameter values or combinations
- Violating API contracts or preconditions
DKUsageErrorextendsDKExceptionand represents client-side errors that should be corrected by the calling code. These errors typically indicate programming mistakes rather than runtime failures.- See Also:
DKException, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description DKUsageError(java.lang.String message)Constructs a new usage error with the specified detail message.DKUsageError(java.lang.String message, java.lang.Throwable cause)Constructs a new usage error with the specified detail message and cause.
-
Method Summary
-
Methods inherited from class com.ibm.mm.sdk.common.DKException
errorCode, errorId, errorState, exceptionId, getErrorId, name, setErrorCode, setErrorState, setExceptionId, setName
-
-
-
-
Constructor Detail
-
DKUsageError
public DKUsageError(java.lang.String message)
Constructs a new usage error with the specified detail message.- Parameters:
message- the detail message explaining the usage error
-
DKUsageError
public DKUsageError(java.lang.String message, java.lang.Throwable cause)Constructs a new usage error with the specified detail message and cause.- Parameters:
message- the detail message explaining the usage errorcause- the underlying cause of this error
-
-