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:
- java.io.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 |
Method Summary |
void |
printStackTrace()
Prints a stack trace. |
void |
printStackTrace(java.io.PrintStream s)
Prints a stack trace to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter w)
Prints this throwable and its backtrace to the specified print writer. |
java.lang.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 |
DetailedSemanticException
public DetailedSemanticException(java.lang.String message)
DetailedSemanticException
public DetailedSemanticException(java.lang.String s,
java.lang.Throwable e)
toString
public java.lang.String toString()
- Converts everything to a string.
- Overrides:
toString
in class antlr.RecognitionException
- Returns:
- a string.
printStackTrace
public void printStackTrace()
- Prints a stack trace.
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Prints a stack trace to the specified print stream.
- Overrides:
printStackTrace
in class java.lang.Throwable
- Parameters:
s
- the print stream.
printStackTrace
public void printStackTrace(java.io.PrintWriter w)
- Prints this throwable and its backtrace to the specified print writer.
- Overrides:
printStackTrace
in class java.lang.Throwable
- Parameters:
w
- the print writer.s
Copyright © 2008 Hibernate.org. All Rights Reserved.