edu.cmu.sei.aadl.modelsupport.errorreporting
Class WriterInternalErrorReporter
java.lang.Object
edu.cmu.sei.aadl.modelsupport.errorreporting.AbstractInternalErrorReporter
edu.cmu.sei.aadl.modelsupport.errorreporting.WriterInternalErrorReporter
- All Implemented Interfaces:
- InternalErrorReporter
public final class WriterInternalErrorReporter
- extends AbstractInternalErrorReporter
An internal error reporter to sends internal error messages to the given
Writer. Includes a prototype reference
to an instance
that sends the errors to System.out
.
- Author:
- aarong
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYSTEM_OUT
public static final WriterInternalErrorReporter SYSTEM_OUT
- Prototype reference that writes to the standard out.
SYSTEM_ERR
public static final WriterInternalErrorReporter SYSTEM_ERR
- Prototype reference that writes to the standard err.
WriterInternalErrorReporter
public WriterInternalErrorReporter(java.io.Writer w)
internalErrorImpl
public void internalErrorImpl(java.lang.String message)
- Specified by:
internalErrorImpl
in class AbstractInternalErrorReporter
internalErrorImpl
public void internalErrorImpl(java.lang.Exception e)
- Specified by:
internalErrorImpl
in class AbstractInternalErrorReporter