changed exception message 'has been thrown' to 'was thrown' and removed unreadable [[]]