com.ibm.mm.sdk.logtool
Class DKLogException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.mm.sdk.logtool.DKLogException
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DKException
public class DKLogException extends java.lang.ExceptionException class for logging-related errors in the CM8 SDK.This exception is thrown when errors occur during logging operations, such as log file initialization failures, write errors, or configuration problems.
Common Use Cases:
- Log file creation or access failures
- Log configuration errors
- Log handler initialization problems
- Log formatting errors
Usage Example:
try { // Logging operation } catch (IOException e) { throw new DKLogException("Failed to write to log file", e); }- See Also:
Exception, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description DKLogException(java.lang.String message)Constructs a new DKLogException with the specified detail message.DKLogException(java.lang.String message, java.lang.Throwable cause)Constructs a new DKLogException with the specified detail message and cause.
-
-
-
Constructor Detail
-
DKLogException
public DKLogException(java.lang.String message)
Constructs a new DKLogException with the specified detail message.- Parameters:
message- the detail message explaining the logging error
-
DKLogException
public DKLogException(java.lang.String message, java.lang.Throwable cause)Constructs a new DKLogException with the specified detail message and cause.- Parameters:
message- the detail message explaining the logging errorcause- the underlying cause of the logging error
-
-