COM.hugin.HAPI
Class ExceptionHugin

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byCOM.hugin.HAPI.ExceptionHugin
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ExceptionArgumentNotAlive, ExceptionBadFile, ExceptionBadVersion, ExceptionCGEvidenceIncorporated, ExceptionCGInfluenceDiagramsNotSupported, ExceptionChainGraph, ExceptionCompressed, ExceptionComputationFailed, ExceptionCyclicInstanceHierarchy, ExceptionCyclicNetwork, ExceptionDecisionOrder, ExceptionDemo, ExceptionDivisionByZero, ExceptionEnumeration, ExceptionError, ExceptionExpiredLicense, ExceptionFastRetraction, ExceptionFormat, ExceptionHugeArray, ExceptionIllegalBinding, ExceptionInappropriateArguments, ExceptionInconsistencyOrUnderflow, ExceptionInsufficientStateRange, ExceptionInvalidExpression, ExceptionInvalidLicense, ExceptionInvalidName, ExceptionInvalidPassword, ExceptionInvalidStateValues, ExceptionIO, ExceptionJNI, ExceptionLocale, ExceptionLowDensity, ExceptionMemory, ExceptionNegativeProbability, ExceptionNoEquilibrium, ExceptionNormalization, ExceptionNotCompiled, ExceptionNoValue, ExceptionObjectNotAlive, ExceptionOverflow, ExceptionParse, ExceptionRounding, ExceptionSizeTooLarge, ExceptionSyntax, ExceptionTableTooLarge, ExceptionTwice, ExceptionUsage, ExceptionZeroSum, ExceptionZeroVariance

public class ExceptionHugin
extends java.lang.Exception

The ExceptionHugin class. Exception handling in the Hugin Java Interface is implemented through the ExceptionHugin class. Whenever an error occurs in a method of the Hugin Java Interface, the method throws an exception using the throwException method. throwException is a member method of ExceptionHugin. Each exception implemented in the Hugin Java Interface is a subclass of ExceptionHugin. To each exception is associated a error message describing the cause of the exception thrown. The message is accessed through the getMessage member method.

See Also:
Serialized Form

Field Summary
static int H_ERROR_BAD_FILE
           
static int H_ERROR_BAD_VERSION
           
static int H_ERROR_CG_EVIDENCE_INCORPORATED
           
static int H_ERROR_CG_INFLUENCE_DIAGRAMS_NOT_SUPPORTED
           
static int H_ERROR_CHAIN_GRAPH
           
static int H_ERROR_COMPRESSED
           
static int H_ERROR_COMPUTATION_FAILED
           
static int H_ERROR_CYCLIC_INSTANCE_HIERARCHY
           
static int H_ERROR_CYCLIC_NETWORK
           
static int H_ERROR_DECISION_ORDER
           
static int H_ERROR_DEMO
           
static int H_ERROR_DIVISION_BY_ZERO
           
static int H_ERROR_ENUMERATION
           
static int H_ERROR_ERROR
           
static int H_ERROR_EXPIRED_LICENSE
           
static int H_ERROR_FAST_RETRACTION
           
static int H_ERROR_FORMAT
           
static int H_ERROR_ILLEGAL_BINDING
           
static int H_ERROR_INAPPROPRIATE_ARGUMENTS
           
static int H_ERROR_INCONSISTENCY_OR_UNDERFLOW
           
static int H_ERROR_INSUFFICIENT_STATE_RANGE
           
static int H_ERROR_INVALID_EXPRESSION
           
static int H_ERROR_INVALID_LICENSE
           
static int H_ERROR_INVALID_NAME
           
static int H_ERROR_INVALID_PASSWORD
           
static int H_ERROR_INVALID_STATE_VALUES
           
static int H_ERROR_IO
           
static int H_ERROR_JNI
           
static int H_ERROR_LOCALE
           
static int H_ERROR_LOW_DENSITY
           
static int H_ERROR_NEGATIVE_PROBABILITY
           
static int H_ERROR_NO_EQUILIBRIUM
           
static int H_ERROR_NO_MEMORY
           
static int H_ERROR_NO_VALUE
           
static int H_ERROR_NONE
           
static int H_ERROR_NORMALIZATION
           
static int H_ERROR_NOT_COMPILED
           
static int H_ERROR_OVERFLOW
           
static int H_ERROR_PARSE
           
static int H_ERROR_ROUNDING
           
static int H_ERROR_SIZE_TOO_LARGE
           
static int H_ERROR_SYNTAX
           
static int H_ERROR_TABLE_TOO_LARGE
           
static int H_ERROR_TWICE
           
static int H_ERROR_USAGE
           
static int H_ERROR_ZERO_SUM
           
static int H_ERROR_ZERO_VARIANCE
           
 
Constructor Summary
ExceptionHugin(java.lang.String msg)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

H_ERROR_BAD_FILE

public static final int H_ERROR_BAD_FILE
See Also:
Constant Field Values

H_ERROR_BAD_VERSION

public static final int H_ERROR_BAD_VERSION
See Also:
Constant Field Values

H_ERROR_CG_EVIDENCE_INCORPORATED

public static final int H_ERROR_CG_EVIDENCE_INCORPORATED
See Also:
Constant Field Values

H_ERROR_CG_INFLUENCE_DIAGRAMS_NOT_SUPPORTED

public static final int H_ERROR_CG_INFLUENCE_DIAGRAMS_NOT_SUPPORTED
See Also:
Constant Field Values

H_ERROR_CHAIN_GRAPH

public static final int H_ERROR_CHAIN_GRAPH
See Also:
Constant Field Values

H_ERROR_COMPRESSED

public static final int H_ERROR_COMPRESSED
See Also:
Constant Field Values

H_ERROR_COMPUTATION_FAILED

public static final int H_ERROR_COMPUTATION_FAILED
See Also:
Constant Field Values

H_ERROR_CYCLIC_NETWORK

public static final int H_ERROR_CYCLIC_NETWORK
See Also:
Constant Field Values

H_ERROR_DECISION_ORDER

public static final int H_ERROR_DECISION_ORDER
See Also:
Constant Field Values

H_ERROR_DEMO

public static final int H_ERROR_DEMO
See Also:
Constant Field Values

H_ERROR_DIVISION_BY_ZERO

public static final int H_ERROR_DIVISION_BY_ZERO
See Also:
Constant Field Values

H_ERROR_ENUMERATION

public static final int H_ERROR_ENUMERATION
See Also:
Constant Field Values

H_ERROR_ERROR

public static final int H_ERROR_ERROR
See Also:
Constant Field Values

H_ERROR_EXPIRED_LICENSE

public static final int H_ERROR_EXPIRED_LICENSE
See Also:
Constant Field Values

H_ERROR_FAST_RETRACTION

public static final int H_ERROR_FAST_RETRACTION
See Also:
Constant Field Values

H_ERROR_FORMAT

public static final int H_ERROR_FORMAT
See Also:
Constant Field Values

H_ERROR_ILLEGAL_BINDING

public static final int H_ERROR_ILLEGAL_BINDING
See Also:
Constant Field Values

H_ERROR_INAPPROPRIATE_ARGUMENTS

public static final int H_ERROR_INAPPROPRIATE_ARGUMENTS
See Also:
Constant Field Values

H_ERROR_INCONSISTENCY_OR_UNDERFLOW

public static final int H_ERROR_INCONSISTENCY_OR_UNDERFLOW
See Also:
Constant Field Values

H_ERROR_CYCLIC_INSTANCE_HIERARCHY

public static final int H_ERROR_CYCLIC_INSTANCE_HIERARCHY
See Also:
Constant Field Values

H_ERROR_INSUFFICIENT_STATE_RANGE

public static final int H_ERROR_INSUFFICIENT_STATE_RANGE
See Also:
Constant Field Values

H_ERROR_INVALID_EXPRESSION

public static final int H_ERROR_INVALID_EXPRESSION
See Also:
Constant Field Values

H_ERROR_INVALID_LICENSE

public static final int H_ERROR_INVALID_LICENSE
See Also:
Constant Field Values

H_ERROR_INVALID_NAME

public static final int H_ERROR_INVALID_NAME
See Also:
Constant Field Values

H_ERROR_INVALID_PASSWORD

public static final int H_ERROR_INVALID_PASSWORD
See Also:
Constant Field Values

H_ERROR_INVALID_STATE_VALUES

public static final int H_ERROR_INVALID_STATE_VALUES
See Also:
Constant Field Values

H_ERROR_IO

public static final int H_ERROR_IO
See Also:
Constant Field Values

H_ERROR_JNI

public static final int H_ERROR_JNI
See Also:
Constant Field Values

H_ERROR_LOCALE

public static final int H_ERROR_LOCALE
See Also:
Constant Field Values

H_ERROR_LOW_DENSITY

public static final int H_ERROR_LOW_DENSITY
See Also:
Constant Field Values

H_ERROR_NEGATIVE_PROBABILITY

public static final int H_ERROR_NEGATIVE_PROBABILITY
See Also:
Constant Field Values

H_ERROR_NO_EQUILIBRIUM

public static final int H_ERROR_NO_EQUILIBRIUM
See Also:
Constant Field Values

H_ERROR_NO_MEMORY

public static final int H_ERROR_NO_MEMORY
See Also:
Constant Field Values

H_ERROR_NO_VALUE

public static final int H_ERROR_NO_VALUE
See Also:
Constant Field Values

H_ERROR_NONE

public static final int H_ERROR_NONE
See Also:
Constant Field Values

H_ERROR_NORMALIZATION

public static final int H_ERROR_NORMALIZATION
See Also:
Constant Field Values

H_ERROR_NOT_COMPILED

public static final int H_ERROR_NOT_COMPILED
See Also:
Constant Field Values

H_ERROR_OVERFLOW

public static final int H_ERROR_OVERFLOW
See Also:
Constant Field Values

H_ERROR_PARSE

public static final int H_ERROR_PARSE
See Also:
Constant Field Values

H_ERROR_ROUNDING

public static final int H_ERROR_ROUNDING
See Also:
Constant Field Values

H_ERROR_SIZE_TOO_LARGE

public static final int H_ERROR_SIZE_TOO_LARGE
See Also:
Constant Field Values

H_ERROR_SYNTAX

public static final int H_ERROR_SYNTAX
See Also:
Constant Field Values

H_ERROR_TABLE_TOO_LARGE

public static final int H_ERROR_TABLE_TOO_LARGE
See Also:
Constant Field Values

H_ERROR_TWICE

public static final int H_ERROR_TWICE
See Also:
Constant Field Values

H_ERROR_USAGE

public static final int H_ERROR_USAGE
See Also:
Constant Field Values

H_ERROR_ZERO_SUM

public static final int H_ERROR_ZERO_SUM
See Also:
Constant Field Values

H_ERROR_ZERO_VARIANCE

public static final int H_ERROR_ZERO_VARIANCE
See Also:
Constant Field Values
Constructor Detail

ExceptionHugin

public ExceptionHugin(java.lang.String msg)