|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.data.oda.util.logging.LoggingErrorHandler
org.eclipse.datatools.connectivity.oda.util.logging.LoggingErrorHandler
.
LoggingErrorHandler
can be associated with
Handlers
to process any exceptions that occur
during logging. This will alleviate the log caller from
having to handle logging errors.
Field Summary | |
static int |
CLOSE_FAILURE
Deprecated. The constant indicating a close of an
OutputStream fails. |
static int |
FLUSH_FAILURE
Deprecated. The constant indicating a flush of an
OutputStream fails. |
static int |
FORMAT_FAILURE
Deprecated. The constant indicating that formatting failed. |
static int |
GENERIC_FAILURE
Deprecated. The constant indicating a failure not in the other categories. |
static int |
OPEN_FAILURE
Deprecated. The constant indicating a open of an
OutputStream fails. |
static int |
WRITE_FAILURE
Deprecated. The constant indicating a write of an
OutputStream fails. |
Constructor Summary | |
LoggingErrorHandler()
Deprecated. Creates a LoggingErrorHandler instance. |
Method Summary | |
void |
error(java.lang.String message,
java.lang.Exception exception,
int errorCode)
Deprecated. This method is called when a Handler failure occurs.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int CLOSE_FAILURE
close
of an
OutputStream
fails.
public static int FLUSH_FAILURE
flush
of an
OutputStream
fails.
public static int FORMAT_FAILURE
public static int GENERIC_FAILURE
public static int OPEN_FAILURE
open
of an
OutputStream
fails.
public static int WRITE_FAILURE
write
of an
OutputStream
fails.
Constructor Detail |
public LoggingErrorHandler()
LoggingErrorHandler
instance.
Method Detail |
public void error(java.lang.String message, java.lang.Exception exception, int errorCode)
Handler
failure occurs.
It outputs the failure to System.err
.
message
- the error message.exception
- the Exception
that caused the
Handler
to fail.errorCode
- the error code constant.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |