Corrected problem with NoSuchMethod exception.

Order of initialization of exceptions was wrong
in gracelib.c