COM.hugin.HAPI
Class ExceptionHugin

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--COM.hugin.HAPI.ExceptionHugin
Direct Known Subclasses:
ExceptionAlreadyConnected, ExceptionArgumentNotAlive, ExceptionBadFile, ExceptionBadVersion, ExceptionCGEvidenceIncorporated, ExceptionCGInfluenceDiagramsNotSupported, ExceptionChainGraph, ExceptionCompressed, ExceptionComputationFailed, ExceptionCyclicNetwork, ExceptionDecisionOrder, ExceptionDemo, ExceptionDivisionByZero, ExceptionEnumeration, ExceptionError, ExceptionExpiredLicense, ExceptionFastRetraction, ExceptionFormat, ExceptionHugeArray, ExceptionIllegalBinding, ExceptionInappropriateArguments, ExceptionInconsistencyOrUnderflow, ExceptionInfiniteRecursion, ExceptionInsufficientStateRange, ExceptionInvalidExpression, ExceptionInvalidLicense, ExceptionInvalidName, 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. An exception throw by a method implemented in the Hugin Java Interface is throw 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_ALREADY_CONNECTED
           
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_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_INFINITE_RECURSION
           
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_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()
           
ExceptionHugin(java.lang.String msg)
           
 
Method Summary
static void throwException()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

H_ERROR_ALREADY_CONNECTED

public static final int H_ERROR_ALREADY_CONNECTED

H_ERROR_BAD_FILE

public static final int H_ERROR_BAD_FILE

H_ERROR_BAD_VERSION

public static final int H_ERROR_BAD_VERSION

H_ERROR_CG_EVIDENCE_INCORPORATED

public static final int H_ERROR_CG_EVIDENCE_INCORPORATED

H_ERROR_CG_INFLUENCE_DIAGRAMS_NOT_SUPPORTED

public static final int H_ERROR_CG_INFLUENCE_DIAGRAMS_NOT_SUPPORTED

H_ERROR_CHAIN_GRAPH

public static final int H_ERROR_CHAIN_GRAPH

H_ERROR_COMPRESSED

public static final int H_ERROR_COMPRESSED

H_ERROR_COMPUTATION_FAILED

public static final int H_ERROR_COMPUTATION_FAILED

H_ERROR_CYCLIC_NETWORK

public static final int H_ERROR_CYCLIC_NETWORK

H_ERROR_DECISION_ORDER

public static final int H_ERROR_DECISION_ORDER

H_ERROR_DEMO

public static final int H_ERROR_DEMO

H_ERROR_DIVISION_BY_ZERO

public static final int H_ERROR_DIVISION_BY_ZERO

H_ERROR_ENUMERATION

public static final int H_ERROR_ENUMERATION

H_ERROR_ERROR

public static final int H_ERROR_ERROR

H_ERROR_EXPIRED_LICENSE

public static final int H_ERROR_EXPIRED_LICENSE

H_ERROR_FAST_RETRACTION

public static final int H_ERROR_FAST_RETRACTION

H_ERROR_FORMAT

public static final int H_ERROR_FORMAT

H_ERROR_ILLEGAL_BINDING

public static final int H_ERROR_ILLEGAL_BINDING

H_ERROR_INAPPROPRIATE_ARGUMENTS

public static final int H_ERROR_INAPPROPRIATE_ARGUMENTS

H_ERROR_INCONSISTENCY_OR_UNDERFLOW

public static final int H_ERROR_INCONSISTENCY_OR_UNDERFLOW

H_ERROR_INFINITE_RECURSION

public static final int H_ERROR_INFINITE_RECURSION

H_ERROR_INSUFFICIENT_STATE_RANGE

public static final int H_ERROR_INSUFFICIENT_STATE_RANGE

H_ERROR_INVALID_EXPRESSION

public static final int H_ERROR_INVALID_EXPRESSION

H_ERROR_INVALID_LICENSE

public static final int H_ERROR_INVALID_LICENSE

H_ERROR_INVALID_NAME

public static final int H_ERROR_INVALID_NAME

H_ERROR_INVALID_STATE_VALUES

public static final int H_ERROR_INVALID_STATE_VALUES

H_ERROR_IO

public static final int H_ERROR_IO

H_ERROR_JNI

public static final int H_ERROR_JNI

H_ERROR_LOCALE

public static final int H_ERROR_LOCALE

H_ERROR_LOW_DENSITY

public static final int H_ERROR_LOW_DENSITY

H_ERROR_NEGATIVE_PROBABILITY

public static final int H_ERROR_NEGATIVE_PROBABILITY

H_ERROR_NO_EQUILIBRIUM

public static final int H_ERROR_NO_EQUILIBRIUM

H_ERROR_NO_MEMORY

public static final int H_ERROR_NO_MEMORY

H_ERROR_NO_VALUE

public static final int H_ERROR_NO_VALUE

H_ERROR_NONE

public static final int H_ERROR_NONE

H_ERROR_NORMALIZATION

public static final int H_ERROR_NORMALIZATION

H_ERROR_NOT_COMPILED

public static final int H_ERROR_NOT_COMPILED

H_ERROR_OVERFLOW

public static final int H_ERROR_OVERFLOW

H_ERROR_PARSE

public static final int H_ERROR_PARSE

H_ERROR_ROUNDING

public static final int H_ERROR_ROUNDING

H_ERROR_SIZE_TOO_LARGE

public static final int H_ERROR_SIZE_TOO_LARGE

H_ERROR_SYNTAX

public static final int H_ERROR_SYNTAX

H_ERROR_TABLE_TOO_LARGE

public static final int H_ERROR_TABLE_TOO_LARGE

H_ERROR_TWICE

public static final int H_ERROR_TWICE

H_ERROR_USAGE

public static final int H_ERROR_USAGE

H_ERROR_ZERO_SUM

public static final int H_ERROR_ZERO_SUM

H_ERROR_ZERO_VARIANCE

public static final int H_ERROR_ZERO_VARIANCE
Constructor Detail

ExceptionHugin

public ExceptionHugin()

ExceptionHugin

public ExceptionHugin(java.lang.String msg)
Method Detail

throwException

public static void throwException()
                           throws ExceptionHugin