|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
at.dms.util.FormattedException
at.dms.compiler.PositionedError
at.dms.kjc.CBlockError
public class CBlockError
This class represents block errors in the error hierarchy.
Constructor Summary | |
---|---|
CBlockError(TokenReference where,
Message message)
An error with a formatted message as argument |
|
CBlockError(TokenReference where,
MessageDescription description)
An error without parameters |
|
CBlockError(TokenReference where,
MessageDescription description,
Object parameter)
An error with one parameter |
|
CBlockError(TokenReference where,
MessageDescription description,
Object[] parameters)
An error with an arbitrary number of parameters |
|
CBlockError(TokenReference where,
MessageDescription description,
Object parameter1,
Object parameter2)
An error with two parameters |
Method Summary |
---|
Methods inherited from class at.dms.compiler.PositionedError |
---|
getMessage, getTokenReference |
Methods inherited from class at.dms.util.FormattedException |
---|
getFormattedMessage, hasDescription |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CBlockError(TokenReference where, Message message)
where
- the position in the source codemessage
- the formatted messagepublic CBlockError(TokenReference where, MessageDescription description, Object[] parameters)
where
- the position in the source codedescription
- the message descriptionparameters
- the array of parameterspublic CBlockError(TokenReference where, MessageDescription description, Object parameter1, Object parameter2)
where
- the position in the source codedescription
- the message descriptionparameter1
- the first parameterparameter2
- the second parameterpublic CBlockError(TokenReference where, MessageDescription description, Object parameter)
where
- the position in the source codedescription
- the message descriptionparameter
- the parameterpublic CBlockError(TokenReference where, MessageDescription description)
where
- the position in the source codedescription
- the message description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |