org.jpox.store.rdbms.exceptions
Class PrimaryKeyColumnNotAllowedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOFatalException
                      extended byjavax.jdo.JDOFatalInternalException
                          extended byorg.jpox.store.rdbms.exceptions.PrimaryKeyColumnNotAllowedException
All Implemented Interfaces:
java.io.Serializable

public class PrimaryKeyColumnNotAllowedException
extends javax.jdo.JDOFatalInternalException

A PrimaryKeyColumnNotAllowedException is thrown if an attempt is made to add a primary key column to a view.

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Field Summary
protected static Localiser LOCALISER
           
 
Constructor Summary
PrimaryKeyColumnNotAllowedException(java.lang.String viewName, java.lang.String columnName)
          Constructs a primary key not allowed exception.
 
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOCALISER

protected static final Localiser LOCALISER
Constructor Detail

PrimaryKeyColumnNotAllowedException

public PrimaryKeyColumnNotAllowedException(java.lang.String viewName,
                                           java.lang.String columnName)
Constructs a primary key not allowed exception.

Parameters:
viewName - Name of the view being initialized.
columnName - Name of the column having the duplicate name.


Copyright © -2007 . All Rights Reserved.