JException::__construct

Constructor - used to set up the error with all needed error details.