org.apache.hive.service.cli
Class HiveSQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.apache.hive.service.cli.HiveSQLException
- All Implemented Interfaces:
- Serializable, Iterable<Throwable>
public class HiveSQLException
- extends SQLException
HiveSQLException.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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)
toTStatus
public TStatus toTStatus()
toTStatus
public static TStatus toTStatus(Exception e)
Copyright © 2013 The Apache Software Foundation