hi Oliver

It looks as if both '...Exception:'
parts before the message result from using the method toString()
wherever the Exception is transfomed to it's string representation.

I don't try find out whether this is done explicitly or implicitly.
To get what you desire 'getMessage' would have to be used instead.

simple sample:

IllegalArgumentException iae = new IllegalArgumentException( "invalid id" );
System.out.println( iae );
System.out.println( iae.getMessage() );

output:

java.lang.IllegalArgumentException: invalid id
invalid id

Andreas

Reply via email to