We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da3a216 commit b790075Copy full SHA for b790075
tools/samm-cli/src/main/java/org/eclipse/esmf/FileInputHandler.java
@@ -73,7 +73,12 @@ protected String expectedAspectName() {
73
}
74
75
public static boolean appliesToInput( final String input ) {
76
- return absoluteFile( new File( input ) ).exists();
+ try {
77
+ return absoluteFile( new File( input ) ).exists();
78
+ } catch ( final Exception exception ) {
79
+ // This could file with e.g. a InvalidPathException or with platform-specific exceptions when the input is indeed not a valid file
80
+ return false;
81
+ }
82
83
84
@Override
0 commit comments