So what are the errors you get? Please post up the full message text and stack trace if present.

Incidentally, you shouldn't be extending RuntimeException for normal code. RuntimeExceptions are...