JRF: Created neccessary exceptions