org.exolab.castor.jdo.oql

Class OQLSyntaxException

Known Direct Subclasses:
SyntaxNotSupportedException

public class OQLSyntaxException
extends QueryException

Exception thrown to indicate that invalid syntax was encountered by the Parser.
Version:
$Revision: 5951 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
Authors:
Nissim Karpenstein
Werner Guttmann

Constructor Summary

OQLSyntaxException(String message)
Creates a new CastorException with the given message.
OQLSyntaxException(String message, Throwable except)
Creates a new CastorException with the given message and cause.

Method Summary

Methods inherited from class org.exolab.castor.core.exceptions.CastorException

getCause, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace

Constructor Details

OQLSyntaxException

public OQLSyntaxException(String message)
Creates a new CastorException with the given message.
Parameters:
message - the message for this Exception

OQLSyntaxException

public OQLSyntaxException(String message,
                          Throwable except)
Creates a new CastorException with the given message and cause.
Parameters:
message - The message for this exception.

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com