Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

BurstError.java File Reference


Detailed Description

Defines class burst.BurstError, which is the base Error class for exceptions thrown from the library.

Also defines the global utility bu_throw.

Author:
Copyright 2003 Mark D. Anderson (mda@discerning.com)

Licensed under the Academic Free License 1.2 http://www.opensource.org/licenses/academic.php


Namespaces

namespace  burst

Functions

void bu_throw (String msg)
 A convenience that does: throw burst.BurstError(msg).

void bu_unsupported (String funcname)
 A convenience to throw an exception indicating that a particular function is not supported in this environment.

void bu_unimplemented (String funcname)
 A convenience to throw an exception indicating that the particular function is not yet implemented.


Function Documentation

void bu_throw String  msg  ) 
 

A convenience that does: throw burst.BurstError(msg).

This function has the benefit that you can do things like: foobar() || bu_throw("foobar returned false") which is not syntactically valid with native throw.


Generated on Tue Nov 30 04:03:08 2004 for BurstProject by doxygen 1.3.4