de.kapsi.util
Class OSAException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byde.kapsi.util.NativeException
                  extended byde.kapsi.util.OSAException
All Implemented Interfaces:
java.io.Serializable

public class OSAException
extends NativeException

Thrown by OpenScripting components e.g. OSAScript.

See Also:
Serialized Form

Field Summary
static int errAEEventNotHandled
          Not really an OSA error but very common ;)
static int errOSABadSelector
           
static int errOSABadStorageType
           
static int errOSACantOpenComponent
           
static int errOSAComponentMismatch
           
static int errOSACorruptData
           
static int errOSADataFormatObsolete
           
static int errOSADataFormatTooNew
           
static int errOSAInvalidID
           
static int errOSANoSuchDialect
           
static int errOSARecordingIsAlreadyOn
           
static int errOSAScriptError
           
static int errOSASourceNotAvailable
           
static int errOSASystemError
           
 
Fields inherited from class de.kapsi.util.NativeException
ERROR_IN_PARAMETER_LIST, FILE_NOT_FOUND, NOT_ENOUGH_MEMORY
 
Constructor Summary
OSAException(int errorCode, AEDesc desc)
           
 
Method Summary
protected static java.lang.String createMessage(int errorCode)
          Returns a more or less informative description for the errorCode.
 AEDesc getAEDesc()
           
 
Methods inherited from class de.kapsi.util.NativeException
getErrorCode
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errAEEventNotHandled

public static final int errAEEventNotHandled
Not really an OSA error but very common ;)

See Also:
Constant Field Values

errOSASystemError

public static final int errOSASystemError
See Also:
Constant Field Values

errOSAInvalidID

public static final int errOSAInvalidID
See Also:
Constant Field Values

errOSABadStorageType

public static final int errOSABadStorageType
See Also:
Constant Field Values

errOSAScriptError

public static final int errOSAScriptError
See Also:
Constant Field Values

errOSABadSelector

public static final int errOSABadSelector
See Also:
Constant Field Values

errOSASourceNotAvailable

public static final int errOSASourceNotAvailable
See Also:
Constant Field Values

errOSANoSuchDialect

public static final int errOSANoSuchDialect
See Also:
Constant Field Values

errOSADataFormatObsolete

public static final int errOSADataFormatObsolete
See Also:
Constant Field Values

errOSADataFormatTooNew

public static final int errOSADataFormatTooNew
See Also:
Constant Field Values

errOSACorruptData

public static final int errOSACorruptData
See Also:
Constant Field Values

errOSARecordingIsAlreadyOn

public static final int errOSARecordingIsAlreadyOn
See Also:
Constant Field Values

errOSAComponentMismatch

public static final int errOSAComponentMismatch
See Also:
Constant Field Values

errOSACantOpenComponent

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

OSAException

public OSAException(int errorCode,
                    AEDesc desc)
Method Detail

getAEDesc

public AEDesc getAEDesc()

createMessage

protected static java.lang.String createMessage(int errorCode)
Returns a more or less informative description for the errorCode.