|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sei.aadl.model.pluginsupport.AbstractInternalErrorReporter
public abstract class AbstractInternalErrorReporter
Abstract implementation of
InternalErrorReporter
that
manages the error count. The methods internalError(Exception)
and internalError(String)
increment the error count and then
delegate to the abstract methods internalErrorImpl(Exception)
and internalErrorImpl(String)
}, respectively.
Constructor Summary | |
---|---|
AbstractInternalErrorReporter()
|
Method Summary | |
---|---|
int |
getNumInternalErrors()
Get the number of internal errors reported with this error manager since it was created. |
void |
internalError(java.lang.Exception e)
Report an error in the operation of the client task itself. |
void |
internalError(java.lang.String message)
Report an error in the operation of the client task itself. |
abstract void |
internalErrorImpl(java.lang.Exception e)
|
abstract void |
internalErrorImpl(java.lang.String message)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractInternalErrorReporter()
Method Detail |
---|
public final void internalError(java.lang.String message)
InternalErrorReporter
internalError
in interface InternalErrorReporter
message
- The error message.public void internalError(java.lang.Exception e)
InternalErrorReporter
internalError
in interface InternalErrorReporter
e
- The exception that caused the error.public final int getNumInternalErrors()
InternalErrorReporter
InternalErrorReporter
.
getNumInternalErrors
in interface InternalErrorReporter
public abstract void internalErrorImpl(java.lang.String message)
public abstract void internalErrorImpl(java.lang.Exception e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |