当前页面:
在线文档首页 >
Hibernate 3.2.4 正式版 API 英文文档
DetailedSemanticException (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档
org.hibernate.hql.ast
Class DetailedSemanticException
java.lang.Object
java.lang.Throwable
java.lang.Exception
antlr.ANTLRException
antlr.RecognitionException
antlr.SemanticException
org.hibernate.hql.ast.DetailedSemanticException
- All Implemented Interfaces:
- Serializable
- public class DetailedSemanticException
- extends antlr.SemanticException
Thrown when a call to the underlying Hibernate engine fails, indicating
some form of semantic exception (e.g. a class name was not found in the
current mappings, etc.).
- See Also:
- Serialized Form
Fields inherited from class antlr.RecognitionException |
column, fileName, line |
Methods inherited from class antlr.RecognitionException |
getColumn, getErrorMessage, getFilename, getLine |
DetailedSemanticException
public DetailedSemanticException(String message)
DetailedSemanticException
public DetailedSemanticException(String s,
Throwable e)
toString
public String toString()
- Converts everything to a string.
- Returns:
- a string.
printStackTrace
public void printStackTrace()
- Prints a stack trace.
printStackTrace
public void printStackTrace(PrintStream s)
- Prints a stack trace to the specified print stream.
- Parameters:
s
- the print stream.
printStackTrace
public void printStackTrace(PrintWriter w)
- Prints this throwable and its backtrace to the specified print writer.
- Parameters:
w
- the print writer.s