How can I accomplish this (and yes I do want the program to bomb)
SUB check(x as integer)
IF x<0 or x>10 then raise outofboundsexception
END SUB
How can I accomplish this (and yes I do want the program to bomb)
SUB check(x as integer)
IF x<0 or x>10 then raise outofboundsexception
END SUB
SUB check(x as integer)
IF x<0 or x>10 then raise new outofboundsexception
END SUB