I want to have a single abstract class `InitException` to represent a set of classes, i.e. `StartParameterException`, `FileNotFoundException`, etc. I define `StartParameterException` myself, but `FileNotFoundException` is a standard exception that I import. So I can not add `extends InitException` to its definition, as I do for my own classes:

```java
public class StartParameterException extends InitException {
    ...
}

```

The main point is to change this:

```java
try {
    ...
} catch (StartParameterException | FileNotFoundException | InvalidPathException | NullBoardException e) {
    System.out.println(e);
    System.exit(INIT_ERROR);
}

```

to this

```java
try {
    ...
} catch (InitException e) {
    System.out.println(e);
    System.exit(InitException.ERROR_CODE);
}

```

Is this possible? Should I use an interface somehow?