org.multijava.mjc
Class CBlockError
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.multijava.util.FormattedException
org.multijava.util.compiler.PositionedError
org.multijava.mjc.CBlockError
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CLineError
- public class CBlockError
- extends PositionedError
This class represents block errors in the error hierarchy. It is
unclear what the intended purpose of this error type is. Errors of
this type are caught and converted to messages reported via
contexts when typechecking classes, interfaces, and loop
statements. Errors of this type are _only_ thrown for bad catch
clauses. !FIXME!
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
CBlockError
public CBlockError(TokenReference where,
Message message)
- An error with a formatted message as argument
- Parameters:
where - the position in the source codemessage - the formatted message
CBlockError
public CBlockError(TokenReference where,
MessageDescription description,
Object[] parameters)
- An error with an arbitrary number of parameters
- Parameters:
where - the position in the source codedescription - the message descriptionparameters - the array of parameters
CBlockError
public CBlockError(TokenReference where,
MessageDescription description,
Object parameter1,
Object parameter2)
- An error with two parameters
- Parameters:
where - the position in the source codedescription - the message descriptionparameter1 - the first parameterparameter2 - the second parameter
CBlockError
public CBlockError(TokenReference where,
MessageDescription description,
Object parameter)
- An error with one parameter
- Parameters:
where - the position in the source codedescription - the message descriptionparameter - the parameter
CBlockError
public CBlockError(TokenReference where,
MessageDescription description)
- An error without parameters
- Parameters:
where - the position in the source codedescription - the message description
mjc is Copyright (C) 2000-2004 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.