org.odmg
Class QueryParameterCountInvalidException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.odmg.ODMGException
              extended by org.odmg.QueryException
                  extended by org.odmg.QueryParameterCountInvalidException
All Implemented Interfaces:
java.io.Serializable

public class QueryParameterCountInvalidException
extends QueryException

This exception is thrown when the number of bound parameters for a query does not match the number of placeholders.

Version:
ODMG 3.0
Author:
David Jordan (as Java Editor of the Object Data Management Group)
See Also:
Serialized Form

Constructor Summary
QueryParameterCountInvalidException()
          Construct an instance of the exception.
QueryParameterCountInvalidException(java.lang.String msg)
          Construct an instance of the exception with a message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryParameterCountInvalidException

public QueryParameterCountInvalidException()
Construct an instance of the exception.


QueryParameterCountInvalidException

public QueryParameterCountInvalidException(java.lang.String msg)
Construct an instance of the exception with a message.

Parameters:
msg - A message indicating why the exception has been thrown.


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30