Kiwi Engine
VM for interpreter
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Enumerations | Functions
KEException.h File Reference

Define KEException data structure. More...

#include "KEForwarders.h"
#include "KELineInfo.h"

Go to the source code of this file.

Data Structures

struct  KEException
 Exception information. More...
 

Enumerations

enum  KEExceptionKind {
  KENoException, KEExitException, KEZeroDivdeExceotion, KEZeroModuloException,
  KEInvalidPathException, KEInvalidArrayIndexException, KENonExistDictionaryKeyException, KEReturnException,
  KENextException, KELastException
}
 

Functions

void KEPrintException (FILE *outfp, const struct KEException *src)
 Print exception information. More...
 

Detailed Description

Define KEException data structure.

Copyright
Copyright (C) 2014 Steel Wheels Project

Enumeration Type Documentation

Kind of exception, some of them are not serious

Enumerator
KENoException 

No exception

KEExitException 

Exit exception

KEZeroDivdeExceotion 

Zero divide exception

KEZeroModuloException 

Zero modulo exception

KEInvalidPathException 

Invalid path exception

KEInvalidArrayIndexException 

Invalid array index exception

KENonExistDictionaryKeyException 

Non exist dictionary key exception

KEReturnException 

Return exception (Not serious)

KENextException 

Next iteration exception (Not serious)

KELastException 

Last iteration exception (Not serious)

Function Documentation

void KEPrintException ( FILE *  outfp,
const struct KEException src 
)

Print exception information.

Parameters
outfpOutput file stream
srcSource exception information