I am a Java beginner and, I am not really sure what JMSExceptions are and what they do, everything I look up seems to be to in-depth for me to grasp what it really is. All I know is that it has something to do with the API.
Can someone explain to me what it is in simple terms?
A JMSException is the base type (derived from Exception) that the Java Message Service (JMS) Package API throws when it needs to communicate a exception to the consumer of the JMS Package.
If you don’t know how to do exception handling in Java then this turorial from Sun might be a good start.
There is good sample of how to use the JMS API and how to catch JMSExceptions here – the salient bits are: