org.hibernate.hql.internal.ast
Class DetailedSemanticException
java.lang.Object
java.lang.Throwable
java.lang.Exception
antlr.ANTLRException
antlr.RecognitionException
antlr.SemanticException
org.hibernate.hql.internal.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.
- Overrides:
toString
in class antlr.RecognitionException
- Returns:
- a string.
printStackTrace
public void printStackTrace()
- Prints a stack trace.
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintStream s)
- Prints a stack trace to the specified print stream.
- Overrides:
printStackTrace
in class Throwable
- Parameters:
s
- the print stream.
printStackTrace
public void printStackTrace(PrintWriter w)
- Prints this throwable and its backtrace to the specified print writer.
- Overrides:
printStackTrace
in class Throwable
- Parameters:
w
- the print writer.s
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.