Class NeuralNetException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.apache.commons.math4.neuralnet.internal.NeuralNetException
-
- All Implemented Interfaces:
Serializable
public class NeuralNetException extends IllegalArgumentException
Exception class with constants for frequently used messages.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringID_IN_USEError message for "identifier already used" condition.static StringID_NOT_FOUNDError message for "identifier not found" condition.static StringNO_DATAError message for "out of range" condition.static StringNOT_STRICTLY_POSITIVEError message for "not strictly positive" condition.static StringOUT_OF_RANGEError message for "out of range" condition.static StringSIZE_MISMATCHError message for "size mismatch" condition.static StringTOO_LARGEError message for "too large" condition.static StringTOO_SMALLError message for "too small" condition.
-
Constructor Summary
Constructors Constructor Description NeuralNetException(String message, Object... formatArguments)Create an exception where the message is constructed by applying theformat()method fromjava.text.MessageFormat.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
OUT_OF_RANGE
public static final String OUT_OF_RANGE
Error message for "out of range" condition.- See Also:
- Constant Field Values
-
NOT_STRICTLY_POSITIVE
public static final String NOT_STRICTLY_POSITIVE
Error message for "not strictly positive" condition.- See Also:
- Constant Field Values
-
TOO_LARGE
public static final String TOO_LARGE
Error message for "too large" condition.- See Also:
- Constant Field Values
-
TOO_SMALL
public static final String TOO_SMALL
Error message for "too small" condition.- See Also:
- Constant Field Values
-
NO_DATA
public static final String NO_DATA
Error message for "out of range" condition.- See Also:
- Constant Field Values
-
SIZE_MISMATCH
public static final String SIZE_MISMATCH
Error message for "size mismatch" condition.- See Also:
- Constant Field Values
-
ID_IN_USE
public static final String ID_IN_USE
Error message for "identifier already used" condition.- See Also:
- Constant Field Values
-
ID_NOT_FOUND
public static final String ID_NOT_FOUND
Error message for "identifier not found" condition.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NeuralNetException
public NeuralNetException(String message, Object... formatArguments)
Create an exception where the message is constructed by applying theformat()method fromjava.text.MessageFormat.- Parameters:
message- Message format (with replaceable parameters).formatArguments- Actual arguments to be displayed in the message.
-
-