Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/Deprecated/Lang/bak/E5.H

Go to the documentation of this file.
00001 #ifndef __J2K__ThrowableError_HPP__
00002 #define __J2K__ThrowableError_HPP__
00003 
00004 // SHORT INT => enum
00005 // Max: 0xFFFF
00006 
00007 #define __J2K__LoThrowType                   ( 0xFF00 )
00008 #define __J2K__HiThrowType                   ( 0x00FF )
00009 
00010 #define __J2K__Throwable                     ( 0x0100 )
00011 #define __J2K__Error                         ( 0x0200 | __J2K__Throwable )
00012 #define __J2K__LinkageError                  ( 0x0400 | __J2K__Error     )
00013 #define __J2K__Exception                     ( 0x0800 | __J2K__Throwable )
00014 #define __J2K__IncompatibleClassChangeError  ( 0x0F00 | __J2K__LinkageError )
00015 
00016 #define __J2K__VirtualMachineError           ( 0x1000 | __J2K__Error     )
00017 #define __J2K__RuntimeException              ( 0x2000 | __J2K__Exception )
00018 #define __J2K__IllegalArgumentException      ( 0x4000 | __J2K__RuntimeException )
00019 #define __J2K__IndexOutOfBoundsException     ( 0x8000 | __J2K__RuntimeException )
00020                                         
00021 #define __J2K__ClassNotFoundException        ( __J2K__Exception | 0x01 )
00022 #define __J2K__CloneNotSupportedException    ( __J2K__Exception | 0x02 )
00023 #define __J2K__IllegalAccessException        ( __J2K__Exception | 0x04 )
00024 #define __J2K__InstantiationException        ( __J2K__Exception | 0x08 )
00025 #define __J2K__InterruptedException          ( __J2K__Exception | 0x10 )
00026 #define __J2K__NoSuchFieldException          ( __J2K__Exception | 0x20 )
00027 #define __J2K__NoSuchMethodException         ( __J2K__Exception | 0x40 )
00028         
00029 #define __J2K__ArithmeticException           ( __J2K__RuntimeException | 0x01 )
00030 #define __J2K__ArrayStoreException           ( __J2K__RuntimeException | 0x02 )
00031 #define __J2K__ClassCastException            ( __J2K__RuntimeException | 0x04 )
00032 #define __J2K__IllegalStateException         ( __J2K__RuntimeException | 0x08 )
00033 #define __J2K__IllegalMonitorStateException  ( __J2K__RuntimeException | 0x10 )
00034 #define __J2K__NegativeArraySizeException    ( __J2K__RuntimeException | 0x20 )
00035 #define __J2K__NullPointerException          ( __J2K__RuntimeException | 0x40 )
00036 #define __J2K__SecurityException             ( __J2K__RuntimeException | 0x80 )
00037 
00038 #define __J2K__ClassCircularityError         ( __J2K__LinkageError | 0x01 )
00039 #define __J2K__ClassFormatError              ( __J2K__LinkageError | 0x02 )
00040 #define __J2K__ExceptionInInitializerError   ( __J2K__LinkageError | 0x04 )
00041 #define __J2K__NoClassDefFoundError          ( __J2K__LinkageError | 0x08 )
00042 #define __J2K__UnsatisfiedLinkError          ( __J2K__LinkageError | 0x10 )
00043 #define __J2K__VerifyError                   ( __J2K__LinkageError | 0x20 )
00044 
00045 #define __J2K__IllegalThreadStateException ( __J2K__IllegalArgumentException | 0x01 )
00046 #define __J2K__NumberFormatException       ( __J2K__IllegalArgumentException | 0x02 )
00047 
00048 #define __J2K__AbstractMethodError    ( __J2K__IncompatibleClassChangeError | 0x01 )
00049 #define __J2K__IllegalAccessError     ( __J2K__IncompatibleClassChangeError | 0x02 )
00050 #define __J2K__InstantiationError     ( __J2K__IncompatibleClassChangeError | 0x04 )
00051 #define __J2K__NoSuchFieldError       ( __J2K__IncompatibleClassChangeError | 0x08 )
00052 #define __J2K__NoSuchMethodError      ( __J2K__IncompatibleClassChangeError | 0x10 )
00053 
00054 #define __J2K__ArrayIndexOutOfBoundsException  ( __J2K__IndexOutOfBoundsException | 0x01 )
00055 #define __J2K__StringIndexOutOfBoundsException ( __J2K__IndexOutOfBoundsException | 0x02 )
00056                                                                        
00057 #define __J2K__InternalError                ( __J2K__VirtualMachineError  | 0x01 )
00058 #define __J2K__OutOfMemoryError             ( __J2K__VirtualMachineError  | 0x02 )
00059 #define __J2K__StackOverflowError           ( __J2K__VirtualMachineError  | 0x04 )
00060 #define __J2K__UnknownError                 ( __J2K__VirtualMachineError  | 0x08 )
00061 
00062 enum ThrowableType {
00063   Throwable                       = __J2K__Throwable,
00064   Error                           = __J2K__Error,
00065   LinkageError                    = __J2K__LinkageError,
00066   Exception                       = __J2K__Exception,
00067   IncompatibleClassChangeError    = __J2K__IncompatibleClassChangeError,
00068   VirtualMachineError             = __J2K__VirtualMachineError,
00069   RuntimeException                = __J2K__RuntimeException,
00070   IllegalArgumentException        = __J2K__IllegalArgumentException,
00071   IndexOutOfBoundsException       = __J2K__IndexOutOfBoundsException,
00072   ClassNotFoundException          = __J2K__ClassNotFoundException,
00073   CloneNotSupportedException      = __J2K__CloneNotSupportedException,
00074   IllegalAccessException          = __J2K__IllegalAccessException,
00075   InstantiationException          = __J2K__InstantiationException,
00076   InterruptedException            = __J2K__InterruptedException,
00077   NoSuchFieldException            = __J2K__NoSuchFieldException,
00078   NoSuchMethodException           = __J2K__NoSuchMethodException,
00079   ArithmeticException             = __J2K__ArithmeticException,
00080   ArrayStoreException             = __J2K__ArrayStoreException,
00081   ClassCastException              = __J2K__ClassCastException,
00082   IllegalStateException           = __J2K__IllegalStateException,
00083   IllegalMonitorStateException    = __J2K__IllegalMonitorStateException,
00084   NegativeArraySizeException      = __J2K__NegativeArraySizeException,
00085   NullPointerException            = __J2K__NullPointerException,
00086   SecurityException               = __J2K__SecurityException,
00087   ClassCircularityError           = __J2K__ClassCircularityError,
00088   ClassFormatError                = __J2K__ClassFormatError,
00089   ExceptionInInitializerError     = __J2K__ExceptionInInitializerError,
00090   NoClassDefFoundError            = __J2K__NoClassDefFoundError,
00091   UnsatisfiedLinkError            = __J2K__UnsatisfiedLinkError,
00092   VerifyError                     = __J2K__VerifyError,
00093   IllegalThreadStateException     = __J2K__IllegalThreadStateException,
00094   NumberFormatException           = __J2K__NumberFormatException,
00095   AbstractMethodError             = __J2K__AbstractMethodError,
00096   IllegalAccessError              = __J2K__IllegalAccessError,
00097   InstantiationError              = __J2K__InstantiationError,
00098   NoSuchFieldError                = __J2K__NoSuchFieldError,
00099   NoSuchMethodError               = __J2K__NoSuchMethodError,
00100   ArrayIndexOutOfBoundsException  = __J2K__ArrayIndexOutOfBoundsException,
00101   StringIndexOutOfBoundsException = __J2K__StringIndexOutOfBoundsException,
00102   InternalError                   = __J2K__InternalError,
00103   OutOfMemoryError                = __J2K__OutOfMemoryError,
00104   StackOverflowError              = __J2K__StackOverflowError,
00105   UnknownError                    = __J2K__UnknownError
00106 };
00107 
00108 #endif

Generated on Sun Oct 14 18:46:19 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001