Send feedback
  
   
 
  
    
      Exception BigQueryException (2.55.2) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  BigQueryException   extends   BaseHttpServiceException  
  
  
    Inherited Members 
    
      com.google.cloud.BaseServiceException.equals(java.lang.Object) 
    
    
      com.google.cloud.BaseServiceException.getCode() 
    
    
      com.google.cloud.BaseServiceException.getDebugInfo() 
    
    
      com.google.cloud.BaseServiceException.getLocation() 
    
    
      com.google.cloud.BaseServiceException.getReason() 
    
    
      com.google.cloud.BaseServiceException.hashCode() 
    
    
      com.google.cloud.BaseServiceException.isRetryable() 
    
    
      com.google.cloud.BaseServiceException.isRetryable(boolean,java.io.IOException) 
    
    
      com.google.cloud.BaseServiceException.isRetryable(java.lang.Integer,java.lang.String,boolean,java.util.Set<com.google.cloud.BaseServiceException.Error>) 
    
    
      com.google.cloud.BaseServiceException.translate(com.google.cloud.RetryHelper.RetryHelperException) 
    
    
      com.google.cloud.BaseServiceException.translate(java.util.concurrent.ExecutionException) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Constructors
   
  BigQueryException(int code, String message) 
  
    
public   BigQueryException ( int   code ,   String   message )  
  
    
      
        Parameters  
      
        Name Description  
      
        codeint  
      
        messageString  
     
  
  BigQueryException(int code, String message, BigQueryError error) 
  
    
public   BigQueryException ( int   code ,   String   message ,   BigQueryError   error )  
  
  BigQueryException(int code, String message, Throwable cause) 
  
    
public   BigQueryException ( int   code ,   String   message ,   Throwable   cause )  
  
  BigQueryException(IOException exception) 
  
    
public   BigQueryException ( IOException   exception )  
  
  BigQueryException(List<BigQueryError> errors) 
  
    
public   BigQueryException ( List<BigQueryError>   errors )  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  com.google.cloud.BaseServiceException.equals(java.lang.Object) 
  getError() 
  
    
public   BigQueryError   getError ()  
  Returns the BigQueryError  that caused this exception. Returns null if none
 exists.
getErrors() 
  
    
public   List<BigQueryError>   getErrors ()  
  Returns a list of BigQueryError s that caused this exception. Returns null if
 none exists.
hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  com.google.cloud.BaseServiceException.hashCode() 
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]