package de.digitalcollections.iiif.bookshelf.frontend.controller;

import org.springframework.http.HttpStatus;

class ApiException extends RuntimeException {
  HttpStatus statusCode;
  String message;

  public ApiException(String message) {
    this(message, HttpStatus.INTERNAL_SERVER_ERROR);
  }

  public ApiException(String message, HttpStatus statusCode) {
    this.statusCode = statusCode;
    this.message = message;
  }
}

@@ -105,16 +105,23 @@
 tatus;%0A%0A
+public 
 class Ap
@@ -158,16 +158,17 @@
 ption %7B%0A
+%0A
   HttpSt

Fix scope of ApiException class