Polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -42,7 +42,7 @@ public class Problem {
|
||||
|
||||
/**
|
||||
* Create a new instance of the {@link Problem} class.
|
||||
* @param message a message detailing the problem
|
||||
* @param message a message detailing the problem
|
||||
* @param location the location within a bean configuration source that triggered the error
|
||||
*/
|
||||
public Problem(String message, Location location) {
|
||||
@@ -51,7 +51,7 @@ public class Problem {
|
||||
|
||||
/**
|
||||
* Create a new instance of the {@link Problem} class.
|
||||
* @param message a message detailing the problem
|
||||
* @param message a message detailing the problem
|
||||
* @param parseState the {@link ParseState} at the time of the error
|
||||
* @param location the location within a bean configuration source that triggered the error
|
||||
*/
|
||||
@@ -61,8 +61,8 @@ public class Problem {
|
||||
|
||||
/**
|
||||
* Create a new instance of the {@link Problem} class.
|
||||
* @param message a message detailing the problem
|
||||
* @param rootCause the underlying expection that caused the error (may be {@code null})
|
||||
* @param message a message detailing the problem
|
||||
* @param rootCause the underlying exception that caused the error (may be {@code null})
|
||||
* @param parseState the {@link ParseState} at the time of the error
|
||||
* @param location the location within a bean configuration source that triggered the error
|
||||
*/
|
||||
@@ -107,7 +107,7 @@ public class Problem {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the underlying expection that caused the error (may be {@code null}).
|
||||
* Get the underlying exception that caused the error (may be {@code null}).
|
||||
*/
|
||||
public Throwable getRootCause() {
|
||||
return this.rootCause;
|
||||
|
||||
Reference in New Issue
Block a user