..yes, jbs is right. Try to ex.printStackTrace()