Package no.uib.cipr.matrix
Class NotConvergedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- no.uib.cipr.matrix.NotConvergedException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
IterativeSolverNotConvergedException
public class NotConvergedException extends java.lang.ExceptionSignals lack of convergence of an iterative process- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotConvergedException.ReasonPossible reasons for lack of convergence
-
Field Summary
Fields Modifier and Type Field Description protected NotConvergedException.ReasonreasonThe reason for this exception
-
Constructor Summary
Constructors Constructor Description NotConvergedException(NotConvergedException.Reason reason)Constructor for NotConvergedException.NotConvergedException(NotConvergedException.Reason reason, java.lang.String message)Constructor for NotConvergedException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotConvergedException.ReasongetReason()Returns the reason for the exception
-
-
-
Field Detail
-
reason
protected NotConvergedException.Reason reason
The reason for this exception
-
-
Constructor Detail
-
NotConvergedException
public NotConvergedException(NotConvergedException.Reason reason, java.lang.String message)
Constructor for NotConvergedException- Parameters:
reason- The reason for the lack of convergencemessage- A more descriptive explanation
-
NotConvergedException
public NotConvergedException(NotConvergedException.Reason reason)
Constructor for NotConvergedException. No message is provided- Parameters:
reason- The reason for the lack of convergence
-
-
Method Detail
-
getReason
public NotConvergedException.Reason getReason()
Returns the reason for the exception
-
-