FoundationDB/sql-layer — pull request #1380 by nathanlws (2014-07-30 21:59:36+00:00)
Title: Better UnsupportedSQLException error messages

The non-QueryTreeNode constructor was passing bad arguments to the parent class, resulting in a malformed error message. Handle the optional detail in the exception itself.

Additionally, try to give more information in the error triggering this. Slightly unwieldy, as it is a very specific circumstance attempting to be described, but hopefully better overall.