Class QueryException


  • public class QueryException
    extends Object
    • Method Detail

      • setMaxLinesOfStackTrace

        public static void setMaxLinesOfStackTrace​(int maxLinesOfStackTracePerFrame)
      • getTruncatedStackTrace

        public static String getTruncatedStackTrace​(Throwable exception)
      • isClientError

        public static boolean isClientError​(int errorCode)
        Determines if a query-exception-error-code represents an error on the client side.
        Parameters:
        errorCode - the error code from processing the query
        Returns:
        whether the code indicates client error or not