/**
  * @see Action::readParameters()
  */
 public function readParameters()
 {
     parent::readParameters();
     if (isset($_REQUEST['solutionID'])) {
         $this->solutionID = intval($_REQUEST['solutionID']);
     }
     $this->solution = new ContestSolutionEditor($this->solutionID);
     if (!$this->solution->solutionID) {
         throw new IllegalLinkException();
     }
     if (!$this->solution->isDeletable()) {
         throw new PermissionDeniedException();
     }
 }