Add comment to remind future self of adding new exception types to switch-case

This commit is contained in:
Paul Schaub 2023-04-18 18:15:11 +02:00
parent 4a7c2b74da
commit bb2b4e03fb
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 1 additions and 0 deletions

View File

@ -276,6 +276,7 @@ public class ExternalSOP implements SOP {
exitCode + "):\n" + errorMessage);
default:
// Did you forget to add a case for a new exception type?
throw new RuntimeException("External SOP backend reported unknown exit code (" +
exitCode + "):\n" + errorMessage);
}