Last change
on this file since 323 was
319,
checked in by sherbold, 13 years ago
|
|
-
Property svn:mime-type set to
text/plain
|
File size:
370 bytes
|
Line | |
---|
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.