Package com.bayesserver.inference
Class InconsistentEvidenceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.bayesserver.inference.InconsistentEvidenceException
-
- All Implemented Interfaces:
Serializable
public class InconsistentEvidenceException extends Exception
Exception raised when either inconsistent evidence is detected, or underflow has occurred.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InconsistentEvidenceException()
Initializes a new instance of theInconsistentEvidenceException
class.InconsistentEvidenceException(String message)
Initializes a new instance of theInconsistentEvidenceException
class.InconsistentEvidenceException(String message, Throwable cause)
Initializes a new instance of theInconsistentEvidenceException
class with a specified error message and a reference to the inner exception that is the cause of this exception.InconsistentEvidenceException(Throwable cause)
Initializes a new instance of theInconsistentEvidenceException
class a reference to the inner exception that is the cause of this exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InconsistentEvidenceException
public InconsistentEvidenceException()
Initializes a new instance of theInconsistentEvidenceException
class.
-
InconsistentEvidenceException
public InconsistentEvidenceException(String message)
Initializes a new instance of theInconsistentEvidenceException
class.- Parameters:
message
- The message.
-
InconsistentEvidenceException
public InconsistentEvidenceException(String message, Throwable cause)
Initializes a new instance of theInconsistentEvidenceException
class with a specified error message and a reference to the inner exception that is the cause of this exception.- Parameters:
message
- The error message that explains the reason for the exception.cause
- The exception that is the cause of the current exception.
-
InconsistentEvidenceException
public InconsistentEvidenceException(Throwable cause)
Initializes a new instance of theInconsistentEvidenceException
class a reference to the inner exception that is the cause of this exception.- Parameters:
cause
- The exception that is the cause of the current exception.
-
-