added missing SerialVersionId

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@980942 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2010-07-30 20:28:06 +00:00
parent d9e60241d2
commit 3fac04e842
10 changed files with 41 additions and 1 deletions

View File

@ -25,6 +25,10 @@ import org.apache.commons.math.util.LocalizedFormats;
* @version $Revision$ $Date$
*/
public class DimensionMismatchException extends MathIllegalNumberException {
/** Serializable version Id. */
private static final long serialVersionUID = -8415396756375798143L;
/** Correct dimension. */
private final int dimension;

View File

@ -32,6 +32,10 @@ import org.apache.commons.math.util.Localizable;
* @version $Revision$ $Date$
*/
public class MathIllegalArgumentException extends IllegalArgumentException {
/** Serializable version Id. */
private static final long serialVersionUID = -6024911025449780478L;
/**
* Pattern used to build the message (specific context).
*/

View File

@ -28,6 +28,10 @@ import org.apache.commons.math.util.Localizable;
* @version $Revision$ $Date$
*/
public class MathIllegalNumberException extends MathIllegalArgumentException {
/** Serializable version Id. */
private static final long serialVersionUID = -7447085893598031110L;
/** Requested. */
private final Number argument;

View File

@ -26,6 +26,10 @@ import org.apache.commons.math.util.LocalizedFormats;
* @version $Revision$ $Date$
*/
public class NoDataException extends MathIllegalArgumentException {
/** Serializable version Id. */
private static final long serialVersionUID = -3629324471511904459L;
/**
* Construct the exception.
*/
@ -38,6 +42,6 @@ public class NoDataException extends MathIllegalArgumentException {
* @param specific Contextual information on what caused the exception.
*/
public NoDataException(Localizable specific) {
super(specific, LocalizedFormats.NO_DATA, null);
super(specific, LocalizedFormats.NO_DATA, (Object[]) null);
}
}

View File

@ -27,6 +27,10 @@ import org.apache.commons.math.util.MathUtils;
* @version $Revision$ $Date$
*/
public class NonMonotonousSequenceException extends MathIllegalNumberException {
/** Serializable version Id. */
private static final long serialVersionUID = 3596849179428944575L;
/**
* Direction (positive for increasing, negative for decreasing).
*/

View File

@ -25,6 +25,10 @@ import org.apache.commons.math.util.Localizable;
* @version $Revision$ $Date$
*/
public class NotPositiveException extends NumberIsTooSmallException {
/** Serializable version Id. */
private static final long serialVersionUID = -2250556892093726375L;
/**
* Construct the exception.
*

View File

@ -25,6 +25,10 @@ import org.apache.commons.math.util.Localizable;
* @version $Revision$ $Date$
*/
public class NotStrictlyPositiveException extends NumberIsTooSmallException {
/** Serializable version Id. */
private static final long serialVersionUID = -7824848630829852237L;
/**
* Construct the exception.
*

View File

@ -26,6 +26,10 @@ import org.apache.commons.math.util.LocalizedFormats;
* @version $Revision$ $Date$
*/
public class NumberIsTooLargeException extends MathIllegalNumberException {
/** Serializable version Id. */
private static final long serialVersionUID = 4330003017885151975L;
/**
* Higher bound.
*/

View File

@ -26,6 +26,10 @@ import org.apache.commons.math.util.LocalizedFormats;
* @version $Revision$ $Date$
*/
public class NumberIsTooSmallException extends MathIllegalNumberException {
/** Serializable version Id. */
private static final long serialVersionUID = -6100997100383932834L;
/**
* Higher bound.
*/

View File

@ -25,6 +25,10 @@ import org.apache.commons.math.util.LocalizedFormats;
* @version $Revision$ $Date$
*/
public class OutOfRangeException extends MathIllegalNumberException {
/** Serializable version Id. */
private static final long serialVersionUID = 111601815794403609L;
/** Lower bound. */
private final Number lo;
/** Higher bound. */