|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.olat.course.condition.interpreter.ArgumentParseException
public class ArgumentParseException
Description:
| Field Summary | |
|---|---|
static int |
NEEDS_FEWER_ARGUMENTS
Errorcode if the function needs fewer arguments |
static int |
NEEDS_MORE_ARGUMENTS
Errorcode if the function needs more arguments |
static int |
REFERENCE_NOT_FOUND
Errorcode if the argument is a reference, which can not be resolved. I.e. |
static int |
WRONG_ARGUMENT_FORMAT
Errorcode if an argument has the wrong type or is mal formatted. I.e. |
| Constructor Summary | |
|---|---|
ArgumentParseException(int errNo,
java.lang.String functionName,
java.lang.String wrongArgs,
java.lang.String whatsWrong,
java.lang.String solutionProposal)
|
|
ArgumentParseException(java.lang.String msg)
Thrown if an an exception occurs while parsing function arguments. |
|
| Method Summary | |
|---|---|
int |
getErrNo()
|
java.lang.String |
getFunctionName()
|
java.lang.String |
getSolutionProposal()
the returned string is an untranslated translation key |
java.lang.String |
getWhatsWrong()
the returned string is an untranslated translation key |
java.lang.String |
getWrongArgs()
the returned string is an untranslated translation key |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int NEEDS_MORE_ARGUMENTS
public static final int NEEDS_FEWER_ARGUMENTS
public static final int WRONG_ARGUMENT_FORMAT
public static final int REFERENCE_NOT_FOUND
| Constructor Detail |
|---|
public ArgumentParseException(java.lang.String msg)
msg -
public ArgumentParseException(int errNo,
java.lang.String functionName,
java.lang.String wrongArgs,
java.lang.String whatsWrong,
java.lang.String solutionProposal)
errNo - functionName - wrongArgs - whatsWrong - solutionProposal - | Method Detail |
|---|
public int getErrNo()
public java.lang.String getFunctionName()
public java.lang.String getWhatsWrong()
public java.lang.String getWrongArgs()
public java.lang.String getSolutionProposal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||