This commit is contained in:
Rossen Stoyanchev
2017-05-05 15:02:09 -04:00
parent 4d962a1793
commit 0d28a1c32b
2 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -17,9 +17,9 @@ package org.springframework.core.codec;
/**
* Indicates an issue with encoding the input Object stream with a focus on
* indicating the Objects cannot be encoded. As opposed to a more general
* {@link CodecException} such as a configuration issue that an {@link Encoder}
* may also choose to raise.
* not being able to encode Objects. As opposed to a more general I/O errors
* or a {@link CodecException} such as a configuration issue that an
* {@link Encoder} may also choose to raise.
*
* @author Rossen Stoyanchev
* @since 5.0