Catch yet another class of User Errors
This commit is contained in:
parent
5743694196
commit
0b30588d67
|
|
@ -131,6 +131,12 @@ public class CommandLineGATK extends CommandLineExecutable {
|
||||||
// can't close tribble index when writing
|
// can't close tribble index when writing
|
||||||
if ( message.indexOf("Unable to close index for") != -1 )
|
if ( message.indexOf("Unable to close index for") != -1 )
|
||||||
exitSystemWithUserError(new UserException(t.getCause().getMessage()));
|
exitSystemWithUserError(new UserException(t.getCause().getMessage()));
|
||||||
|
|
||||||
|
// disk is full
|
||||||
|
if ( message.indexOf("No space left on device") != -1 )
|
||||||
|
exitSystemWithUserError(new UserException(t.getMessage()));
|
||||||
|
if ( t.getCause().getMessage().indexOf("No space left on device") != -1 )
|
||||||
|
exitSystemWithUserError(new UserException(t.getCause().getMessage()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue