Last change
on this file since 638 was
479,
checked in by sherbold, 12 years ago
|
- converted java-utils-test to Maven project
|
-
Property svn:mime-type set to
text/plain
|
File size:
370 bytes
|
Rev | Line | |
---|
[319] | 1 | package de.ugoe.cs.util.console.mock;
|
---|
| 2 |
|
---|
| 3 | import de.ugoe.cs.util.console.listener.IExceptionListener;
|
---|
| 4 |
|
---|
| 5 | public class MockExceptionListener implements IExceptionListener {
|
---|
| 6 |
|
---|
| 7 | private Exception lastException = null;
|
---|
| 8 | public Exception getLastException() {
|
---|
| 9 | return lastException;
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | @Override
|
---|
| 13 | public void logException(Exception e) {
|
---|
| 14 | lastException = e;
|
---|
| 15 | }
|
---|
| 16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.