Top Description Fields Constructors Methods
org.hibernate.hql.internal.ast

public Class DetailedSemanticException

extends SemanticException
Class Inheritance
Imports
java.io.PrintStream, .PrintWriter, org.hibernate.internal.build.AllowPrintStacktrace, 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.).

Field Summary

Modifier and TypeField and Description
private Throwable
private boolean

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public void
printStackTrace()

Overrides java.lang.Throwable.printStackTrace.

Prints a stack trace.
public void
printStackTrace(PrintStream
the print stream.
s
)

Overrides java.lang.Throwable.printStackTrace.

Prints a stack trace to the specified print stream.
public void
printStackTrace(PrintWriter
the print writer.s
w
)

Overrides java.lang.Throwable.printStackTrace.

Prints this throwable and its backtrace to the specified print writer.
public String

Returns:

a string.
toString
()

Overrides antlr.RecognitionException.toString.

Converts everything to a string.

Field Detail

causeback to summary
private Throwable cause

Hides java.lang.Throwable.cause.

showCauseMessageback to summary
private boolean showCauseMessage

Constructor Detail

DetailedSemanticExceptionback to summary
public DetailedSemanticException(String message)
DetailedSemanticExceptionback to summary
public DetailedSemanticException(String s, Throwable e)

Method Detail

printStackTraceback to summary
public void printStackTrace()

Overrides java.lang.Throwable.printStackTrace.

Prints a stack trace.

Annotations
@AllowPrintStacktrace
printStackTraceback to summary
public void printStackTrace(PrintStream s)

Overrides java.lang.Throwable.printStackTrace.

Prints a stack trace to the specified print stream.

Parameters
s:PrintStream

the print stream.

Annotations
@AllowPrintStacktrace
printStackTraceback to summary
public void printStackTrace(PrintWriter w)

Overrides java.lang.Throwable.printStackTrace.

Prints this throwable and its backtrace to the specified print writer.

Parameters
w:PrintWriter

the print writer.s

toStringback to summary
public String toString()

Overrides antlr.RecognitionException.toString.

Converts everything to a string.

Returns:String

a string.