Returns a string representation of the constraint.
Overrides SelfDescribing::toString
public function toString() : string { return sprintf('exception of type "%s"', $this->className); }