New API (MATH-542).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1083166 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
566075ee5c
commit
3c0afa529e
|
@ -34,28 +34,18 @@ public class ConvergenceException extends MathIllegalStateException {
|
||||||
* Construct the exception.
|
* Construct the exception.
|
||||||
*/
|
*/
|
||||||
public ConvergenceException() {
|
public ConvergenceException() {
|
||||||
this(null);
|
addMessage(LocalizedFormats.CONVERGENCE_FAILED);
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Construct the exception with a specific context.
|
|
||||||
*
|
|
||||||
* @param specific Specific contexte pattern.
|
|
||||||
*/
|
|
||||||
public ConvergenceException(Localizable specific) {
|
|
||||||
this(specific,
|
|
||||||
LocalizedFormats.CONVERGENCE_FAILED,
|
|
||||||
null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct the exception with a specific context and arguments.
|
* Construct the exception with a specific context and arguments.
|
||||||
*
|
*
|
||||||
* @param specific Specific contexte pattern.
|
* @param pattern Message pattern providing the specific context of
|
||||||
|
* the error.
|
||||||
* @param args Arguments.
|
* @param args Arguments.
|
||||||
*/
|
*/
|
||||||
public ConvergenceException(Localizable specific,
|
public ConvergenceException(Localizable pattern,
|
||||||
Object ... args) {
|
Object ... args) {
|
||||||
super(specific,
|
addMessage(pattern, args);
|
||||||
LocalizedFormats.CONVERGENCE_FAILED,
|
|
||||||
args);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue