001 package org.odmg; 002 003 004 005 /** 006 007 * This exception is thrown when the number of bound parameters for a query 008 009 * does not match the number of placeholders. 010 011 * @author David Jordan (as Java Editor of the Object Data Management Group) 012 013 * @version ODMG 3.0 014 015 */ 016 017 018 019 public class QueryParameterCountInvalidException extends QueryException 020 021 { 022 023 /** 024 025 * Construct an instance of the exception. 026 027 */ 028 029 public QueryParameterCountInvalidException() 030 031 { 032 033 super(); 034 035 } 036 037 038 039 /** 040 041 * Construct an instance of the exception with a message. 042 043 * @param msg A message indicating why the exception has been thrown. 044 045 */ 046 047 public QueryParameterCountInvalidException(String msg) 048 049 { 050 051 super(msg); 052 053 } 054 055 } 056