org.hibernate.hql.ast

Class DetailedSemanticException


public class DetailedSemanticException
extends 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.).

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.

Constructor Details

DetailedSemanticException

public DetailedSemanticException(String message)

DetailedSemanticException

public DetailedSemanticException(String s,
                                 Throwable e)

Method Details

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

toString

public String toString()
Converts everything to a string.
Returns:
a string.