org.apache.spark.sql
Class AnalysisException
Object
Throwable
Exception
org.apache.spark.sql.AnalysisException
- All Implemented Interfaces:
- java.io.Serializable
public class AnalysisException
- extends Exception
- implements scala.Serializable
:: DeveloperApi ::
Thrown when a query fails to analyze, usually because the query itself is invalid.
- See Also:
- Serialized Form
Methods inherited from class Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
message
public String message()
line
public scala.Option<Object> line()
startPosition
public scala.Option<Object> startPosition()
withPosition
public AnalysisException withPosition(scala.Option<Object> line,
scala.Option<Object> startPosition)
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable