com.ibm.dse.tools.workbench.base
Class RpForeignKeyException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.dse.tools.workbench.base.WorkbenchException
                    |
                    +--com.ibm.dse.tools.workbench.base.RepositoryException
                          |
                          +--com.ibm.dse.tools.workbench.base.RpForeignKeyException

public class RpForeignKeyException
extends RepositoryException

The class RpForeignKeyException is thrown by the Workbench when trying to set a value against a database foreign key

See Also:
Serialized Form

Constructor Summary
RpForeignKeyException()
          Constructs a RpForeignKeyException with no specified detail message.
RpForeignKeyException(Relationship rel)
          Constructs a RpForeignKeyException with the violated relationship
 
Method Summary
 Relationship getFk()
          Gets the relationship
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RpForeignKeyException

public RpForeignKeyException()
Constructs a RpForeignKeyException with no specified detail message.

RpForeignKeyException

public RpForeignKeyException(Relationship rel)
Constructs a RpForeignKeyException with the violated relationship
Parameters:
rel - com.ibm.dse.tools.workbench.base.Relationship
Method Detail

getFk

public Relationship getFk()
Gets the relationship
Returns:
com.ibm.dse.tools.workbench.base.Relationship