litesoft
Diff Revisions
287
vs
315
for /trunk/Java/ScarPlus/src/com/esotericsoftware/wildcard/RegexScanner.java
|
@@ -4,6 +4,8 @@ |
4 |
4 |
|
import java.util.*; |
5 |
5 |
|
import java.util.regex.Pattern; |
6 |
6 |
|
|
|
7 |
+ |
import com.esotericsoftware.utils.*; |
|
8 |
+ |
|
7 |
9 |
|
class RegexScanner |
8 |
10 |
|
{ |
9 |
11 |
|
private final File rootDir; |
|
@@ -30,7 +32,7 @@ |
30 |
32 |
|
} |
31 |
33 |
|
catch ( IOException ex ) |
32 |
34 |
|
{ |
33 |
|
- |
throw new RuntimeException( "OS error determining canonical path: " + rootDir, ex ); |
|
35 |
+ |
throw new WrappedIOException( "OS error determining canonical path: " + rootDir, ex ); |
34 |
36 |
|
} |
35 |
37 |
|
this.rootDir = rootDir; |
36 |
38 |
|
|