|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.multijava.util.FormattedException
org.multijava.util.compiler.PositionedError
org.multijava.util.compiler.CWarning
This class represents warnings in the compiler error hierarchy
| Field Summary |
| Fields inherited from class org.multijava.util.compiler.PositionedError |
|
| Fields inherited from class org.multijava.util.FormattedException |
|
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
CWarning(TokenReference where,
Message message)
An error with a formatted message as argument |
|
CWarning(TokenReference where,
MessageDescription description)
An error without parameters |
|
CWarning(TokenReference where,
MessageDescription description,
Object parameter)
An error with one parameter |
|
CWarning(TokenReference where,
MessageDescription description,
Object parameter1,
Object parameter2)
An error with two parameters |
|
CWarning(TokenReference where,
MessageDescription description,
Object[] parameters)
An error with an arbitrary number of parameters |
|
| Method Summary | |
Object[] |
getParams()
Returns the parameters of the message. |
int |
getSeverityLevel()
Returns the severity level |
| Methods inherited from class org.multijava.util.compiler.PositionedError |
getMessage, getTokenReference |
| Methods inherited from class org.multijava.util.FormattedException |
getErrorMessage, 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 CWarning(TokenReference where,
Message message)
where - the position in the source codemessage - the formatted message
public CWarning(TokenReference where,
MessageDescription description,
Object[] parameters)
where - the position in the source codedescription - the message descriptionparameters - the array of parameters
public CWarning(TokenReference where,
MessageDescription description,
Object parameter1,
Object parameter2)
where - the position in the source codedescription - the message descriptionparameter1 - the first parameterparameter2 - the second parameter
public CWarning(TokenReference where,
MessageDescription description,
Object parameter)
where - the position in the source codedescription - the message descriptionparameter - the parameter
public CWarning(TokenReference where,
MessageDescription description)
where - the position in the source codedescription - the message description| Method Detail |
public int getSeverityLevel()
public Object[] getParams()
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||