{"id":77081,"library":"exception","title":"Light-4j Exception Handler","description":"A server exception handler for both runtime exceptions and ApiException if they are not handled in the handler chain.","status":"active","version":"2.3.3","language":"java","source_language":null,"source_url":"https://github.com/networknt/light-4j","tags":["exception","handler","light-4j","server"],"install":[{"cmd":"<dependency>\n  <groupId>com.networknt</groupId>\n  <artifactId>exception</artifactId>\n  <version>2.3.3</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.networknt:exception:2.3.3'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"ExceptionHandler","correct":"com.networknt.exception.ExceptionHandler"}],"quickstart":{"code":"import com.networknt.exception.ExceptionHandler;\nimport com.networknt.handler.Handler;\nimport io.undertow.server.HttpServerExchange;\n\npublic class Quickstart {\n    public static void main(String[] args) {\n        ExceptionHandler handler = new ExceptionHandler();\n        // Use in a light-4j handler chain\n        System.out.println(\"Exception handler created.\");\n    }\n}","lang":"java","description":"Minimal instantiation of the exception handler"},"warnings":[],"env_vars":null,"search_vec":"'4j':3,29 'apiexcept':15 'chain':24 'except':4,8,13,25 'handl':20 'handler':5,9,23,26 'light':2,28 'light-4j':1,27 'runtim':12 'server':7,30","created_at":"2026-06-17T19:45:59.535306+00:00","updated_at":"2026-06-17T19:45:59.535306+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/networknt/light-4j","github":"https://github.com/networknt/light-4j","docs":"https://appdoc.app/artifact/com.networknt/exception/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}