Search in sources :

Example 1 with FinderTerminateException

use of exceptions.FinderTerminateException in project solution-finder by knewjade.

the class PercentEntryPoint method close.

@Override
public void close() throws FinderTerminateException {
    try {
        flush();
        logWriter.close();
    } catch (IOException | FinderExecuteException e) {
        throw new FinderTerminateException(e);
    }
}
Also used : IOException(java.io.IOException) FinderExecuteException(exceptions.FinderExecuteException) FinderTerminateException(exceptions.FinderTerminateException)

Example 2 with FinderTerminateException

use of exceptions.FinderTerminateException in project solution-finder by knewjade.

the class PathEntryPoint method close.

@Override
public void close() throws FinderTerminateException {
    try {
        flush();
        logWriter.close();
    } catch (IOException | FinderExecuteException e) {
        throw new FinderTerminateException(e);
    }
}
Also used : IOException(java.io.IOException) FinderExecuteException(exceptions.FinderExecuteException) FinderTerminateException(exceptions.FinderTerminateException)

Example 3 with FinderTerminateException

use of exceptions.FinderTerminateException in project solution-finder by knewjade.

the class SetupEntryPoint method close.

@Override
public void close() throws FinderTerminateException {
    try {
        flush();
        logWriter.close();
    } catch (IOException | FinderExecuteException e) {
        throw new FinderTerminateException(e);
    }
}
Also used : IOException(java.io.IOException) FinderExecuteException(exceptions.FinderExecuteException) FinderTerminateException(exceptions.FinderTerminateException)

Example 4 with FinderTerminateException

use of exceptions.FinderTerminateException in project solution-finder by knewjade.

the class MoveEntryPoint method close.

@Override
public void close() throws FinderTerminateException {
    try {
        flush();
        logWriter.close();
    } catch (IOException | FinderExecuteException e) {
        throw new FinderTerminateException(e);
    }
}
Also used : IOException(java.io.IOException) FinderExecuteException(exceptions.FinderExecuteException) FinderTerminateException(exceptions.FinderTerminateException)

Aggregations

FinderExecuteException (exceptions.FinderExecuteException)4 FinderTerminateException (exceptions.FinderTerminateException)4 IOException (java.io.IOException)4