org.apache.hive.service.cli
Class HiveSQLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.sql.SQLException
              extended by org.apache.hive.service.cli.HiveSQLException
All Implemented Interfaces:
Serializable, Iterable<Throwable>

public class HiveSQLException
extends SQLException

HiveSQLException.

See Also:
Serialized Form

Constructor Summary
HiveSQLException()
           
HiveSQLException(String reason)
           
HiveSQLException(String reason, String sqlState)
           
HiveSQLException(String reason, String sqlState, int vendorCode)
           
HiveSQLException(String reason, String sqlState, int vendorCode, Throwable cause)
           
HiveSQLException(String reason, String sqlState, Throwable cause)
           
HiveSQLException(String reason, Throwable cause)
           
HiveSQLException(Throwable cause)
           
HiveSQLException(TStatus status)
           
 
Method Summary
 TStatus toTStatus()
           
static TStatus toTStatus(Exception e)
           
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HiveSQLException

public HiveSQLException()

HiveSQLException

public HiveSQLException(String reason)
Parameters:
reason -

HiveSQLException

public HiveSQLException(Throwable cause)
Parameters:
cause -

HiveSQLException

public HiveSQLException(String reason,
                        String sqlState)
Parameters:
reason -
sqlState -

HiveSQLException

public HiveSQLException(String reason,
                        Throwable cause)
Parameters:
reason -
cause -

HiveSQLException

public HiveSQLException(String reason,
                        String sqlState,
                        int vendorCode)
Parameters:
reason -
sqlState -
vendorCode -

HiveSQLException

public HiveSQLException(String reason,
                        String sqlState,
                        Throwable cause)
Parameters:
reason -
sqlState -
cause -

HiveSQLException

public HiveSQLException(String reason,
                        String sqlState,
                        int vendorCode,
                        Throwable cause)
Parameters:
reason -
sqlState -
vendorCode -
cause -

HiveSQLException

public HiveSQLException(TStatus status)
Method Detail

toTStatus

public TStatus toTStatus()

toTStatus

public static TStatus toTStatus(Exception e)


Copyright © 2013 The Apache Software Foundation