pt.moredata.dao
Class NoPrimaryKeyDefinedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bypt.moredata.dao.NoPrimaryKeyDefinedException
All Implemented Interfaces:
java.io.Serializable

public class NoPrimaryKeyDefinedException
extends java.lang.RuntimeException

Thrown when an application attempts to use a DataAccessObject without adding a primary key column to the DataAccessObject. Company MoreData

Version:
$Revision: 1.3 $
Author:
pcarmo
See Also:
Serialized Form

Constructor Summary
NoPrimaryKeyDefinedException()
          Constructs a NoPrimaryKeyDefinedException with no detail message.
NoPrimaryKeyDefinedException(java.lang.String s)
          Constructs a NoPrimaryKeyDefinedException with the specified detail message.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoPrimaryKeyDefinedException

public NoPrimaryKeyDefinedException()
Constructs a NoPrimaryKeyDefinedException with no detail message.


NoPrimaryKeyDefinedException

public NoPrimaryKeyDefinedException(java.lang.String s)
Constructs a NoPrimaryKeyDefinedException with the specified detail message.

Parameters:
s - the detail message.