{
throw new NucleusException(LOCALISER.msg("021011", method, invokedValue.getClass().getName()));
}
int arg1 = -1;
Literal param1 = (Literal)expr.getArguments().get(0);
if (param1.getLiteral() instanceof Number)
{
arg1 = ((Number)param1.getLiteral()).intValue();
}
String result = null;
if (expr.getArguments().size() == 2)
{
Literal param2 = (Literal)expr.getArguments().get(1);
int arg2 = -1;
if (param2.getLiteral() instanceof Number)
{
arg2 = ((Number)param2.getLiteral()).intValue();
}
if (((String)invokedValue).length() < arg2)
{
if (((String)invokedValue).length() < arg1)
{