站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

DetailedSemanticException (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.hql.ast
Class DetailedSemanticException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byantlr.ANTLRException
              extended byantlr.RecognitionException
                  extended byantlr.SemanticException
                      extended byorg.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

Field Summary
 
Fields inherited from class antlr.RecognitionException
column, fileName, line
 
Constructor Summary
DetailedSemanticException(String message)
           
DetailedSemanticException(String s, Throwable e)
           
 
Method Summary
 void printStackTrace()
          Prints a stack trace.
 void printStackTrace(PrintStream s)
          Prints a stack trace to the specified print stream.
 void printStackTrace(PrintWriter w)
          Prints this throwable and its backtrace to the specified print writer.
 String toString()
          Converts everything to a string.
 
Methods inherited from class antlr.RecognitionException
getColumn, getErrorMessage, getFilename, getLine
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DetailedSemanticException

public DetailedSemanticException(String message)

DetailedSemanticException

public DetailedSemanticException(String s,
                                 Throwable e)
Method Detail

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