Go to the first, previous, next, last section, table of contents.


Error reporting when compiling classes and interfaces

Author(s): Angel Fernandez Pineda.

Version: 1.3#120 (1999/11/26, 12:5:17 MET)

Version of last change: 1.3#66 (1999/9/30, 13:19:4 MEST)

This chapter will explain error reporting when declaring a class. The first section will explain compile-time errors, this is, any semantic error which may be determined at compile time. The second section will explain run-time errors, this is, any exception that may be raisen by the incorrect usage of O'CIAO. Some of those errors may be not reported at compile time, due to the use of meta-programational structures. For example:

functor(X,my_method,0),call(X).

O'CIAO is not able to check whether my_method/0 is a valid method or not. So, this kind of checking is left to run time.

Error reporting at compile time

Error reporting at run time