public void testExceptions() throws Exception {
DetailedSemanticException dse = new DetailedSemanticException( "test" );
dse.printStackTrace();
dse.printStackTrace( new PrintWriter( new StringWriter() ) );
QuerySyntaxException qse = QuerySyntaxException.convert( new RecognitionException( "test" ), "from bozo b where b.clown = true" );
assertNotNull( qse.getMessage() );
}