Skip to Content
0
Former Member
Aug 07, 2007 at 10:11 PM

Return statement error

51 Views

Hi

I wrote UDF to check the Amount value..But i am getting error Return statement } missing

My code is like

public String AmountValue(String a,Container container){

//write your code here

int i = Integer.parseInt(a);

if(i > 0)

i = 100;

else

throw new RuntimeException("Value should be Greater than zero");

}

venkat