Skip to content

Commit 162ee36

Browse files
committed
Polishing
1 parent c43acd7 commit 162ee36

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

spring-web/src/main/java/org/springframework/http/converter/HttpMessageConversionException.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2015 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919
import org.springframework.core.NestedRuntimeException;
2020

2121
/**
22-
* Thrown by {@link HttpMessageConverter} implementations when the conversion fails.
22+
* Thrown by {@link HttpMessageConverter} implementations when a conversion attempt fails.
2323
*
2424
* @author Arjen Poutsma
2525
* @since 3.0
@@ -29,7 +29,6 @@ public class HttpMessageConversionException extends NestedRuntimeException {
2929

3030
/**
3131
* Create a new HttpMessageConversionException.
32-
*
3332
* @param msg the detail message
3433
*/
3534
public HttpMessageConversionException(String msg) {
@@ -38,7 +37,6 @@ public HttpMessageConversionException(String msg) {
3837

3938
/**
4039
* Create a new HttpMessageConversionException.
41-
*
4240
* @param msg the detail message
4341
* @param cause the root cause (if any)
4442
*/

spring-web/src/main/java/org/springframework/http/converter/HttpMessageNotReadableException.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2015 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
1818

1919
/**
2020
* Thrown by {@link HttpMessageConverter} implementations when the
21-
* {@link HttpMessageConverter#read(Class, org.springframework.http.HttpInputMessage) read} method fails.
21+
* {@link HttpMessageConverter#read} method fails.
2222
*
2323
* @author Arjen Poutsma
2424
* @since 3.0
@@ -28,7 +28,6 @@ public class HttpMessageNotReadableException extends HttpMessageConversionExcept
2828

2929
/**
3030
* Create a new HttpMessageNotReadableException.
31-
*
3231
* @param msg the detail message
3332
*/
3433
public HttpMessageNotReadableException(String msg) {
@@ -37,11 +36,11 @@ public HttpMessageNotReadableException(String msg) {
3736

3837
/**
3938
* Create a new HttpMessageNotReadableException.
40-
*
4139
* @param msg the detail message
4240
* @param cause the root cause (if any)
4341
*/
4442
public HttpMessageNotReadableException(String msg, Throwable cause) {
4543
super(msg, cause);
4644
}
45+
4746
}

spring-web/src/main/java/org/springframework/http/converter/HttpMessageNotWritableException.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2015 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -17,9 +17,8 @@
1717
package org.springframework.http.converter;
1818

1919
/**
20-
* Thrown by {@link org.springframework.http.converter.HttpMessageConverter} implementations when the
21-
* {@link org.springframework.http.converter.HttpMessageConverter#write(Object, org.springframework.http.MediaType,
22-
* org.springframework.http.HttpOutputMessage) write} method fails.
20+
* Thrown by {@link HttpMessageConverter} implementations when the
21+
* {@link HttpMessageConverter#write} method fails.
2322
*
2423
* @author Arjen Poutsma
2524
* @since 3.0
@@ -29,7 +28,6 @@ public class HttpMessageNotWritableException extends HttpMessageConversionExcept
2928

3029
/**
3130
* Create a new HttpMessageNotWritableException.
32-
*
3331
* @param msg the detail message
3432
*/
3533
public HttpMessageNotWritableException(String msg) {
@@ -38,11 +36,11 @@ public HttpMessageNotWritableException(String msg) {
3836

3937
/**
4038
* Create a new HttpMessageNotWritableException.
41-
*
4239
* @param msg the detail message
4340
* @param cause the root cause (if any)
4441
*/
4542
public HttpMessageNotWritableException(String msg, Throwable cause) {
4643
super(msg, cause);
4744
}
45+
4846
}

0 commit comments

Comments
 (0)