|
|
|
@ -16,13 +16,13 @@ |
|
|
|
|
package org.springframework.core.codec; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Indicates an issue with decoding the input stream with the focus on indicating |
|
|
|
|
* a content issue such as a parse failure. As opposed to a more general I/O |
|
|
|
|
* Indicates an issue with decoding the input stream with a focus on content |
|
|
|
|
* related issues such as a parse failure. As opposed to more general I/O |
|
|
|
|
* errors, illegal state, or a {@link CodecException} such as a configuration |
|
|
|
|
* issue that a {@link Decoder} may choose to raise. |
|
|
|
|
* |
|
|
|
|
* <p>For example in a web application, a server side {@code DecodingException} |
|
|
|
|
* would translate to a response with a 400 (bad input) status while |
|
|
|
|
* <p>For example in server web application, a {@code DecodingException} would |
|
|
|
|
* translate to a response with a 400 (bad input) status while |
|
|
|
|
* {@code CodecException} would translate to 500 (server error) status. |
|
|
|
|
* |
|
|
|
|
* @author Rossen Stoyanchev |
|
|
|
|