Package memory.web
Class ExceptionsFilter
java.lang.Object
com.sun.net.httpserver.Filter
memory.web.ExceptionsFilter
public class ExceptionsFilter extends Filter
Logging filter that reports exceptions.
PS4 instructions: you may use, modify, or remove this class.
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description ExceptionsFilter()
-
Method Summary
Modifier and Type Method Description String
description()
void
doFilter(HttpExchange exchange, Filter.Chain chain)
-
Constructor Details
-
ExceptionsFilter
public ExceptionsFilter()
-
-
Method Details
-
description
- Specified by:
description
in classFilter
-
doFilter
- Specified by:
doFilter
in classFilter
- Throws:
IOException
-