Skip to content

Commit

Permalink
More logical exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewsville committed Feb 24, 2012
1 parent bc4006d commit cd2d611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TokenReflection/ReflectionFile.php
Expand Up @@ -46,7 +46,7 @@ public function getNamespaces()
*/
public function __toString()
{
throw new Exception\RuntimeException('__toString is not supported.', Exception\RuntimeException::UNSUPPORTED, $this);
throw new Exception\RuntimeException('Casting to string is not supported.', Exception\RuntimeException::UNSUPPORTED, $this);
}

/**
Expand Down

0 comments on commit cd2d611

Please sign in to comment.