/**
  * {@inheritDoc}
  */
 public function isRequiredNotNull($value, $suppressException = true)
 {
     /* Clear the last error. */
     $this->lastError = null;
     /* If valid just return true. */
     if (Validator::isRequiredNotNull($value)) {
         return true;
     }
     /* Set the error message. */
     $this->lastError = sprintf('Expected not null, \'%s\' given.', gettype($value));
     return $this->validationFailed($suppressException);
 }