i'm trying to throw a message with a meaningful message in the above code.
it appears like it's nesting my exception in a InvocationTargetException in a CreateException in a EJBException:
output from e.getMessage() = nested exception is: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
output from e.getCausedByException().getMessage() = nested exception is: javax.ejb.CreateException: Could not create stateless EJB: java.lang.reflect.InvocationTargetException
why doesn't this print out "my message" to console? i get a stack trace and message that doesn't mention "my message" at all.
Cheers.
DSR