Package org.mockserver.file
Class FileBodyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mockserver.file.FileBodyException
- All Implemented Interfaces:
Serializable
Thrown when the file referenced by a
FileBody cannot be read while materialising a response
(or request-matching) body. Carries the offending file path for server-side logging; callers in the
response pipeline turn it into a clean, logged 500 whose body does NOT leak the path.- Author:
- jamesdbloom
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileBodyException
-
-
Method Details
-
getFilePath
-