|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.serviceregistry.ServiceRegistryException
com.ibm.serviceregistry.exception.admin.AdminException
com.ibm.serviceregistry.exception.admin.ConstraintException
public class ConstraintException
Base class for constraint exceptions.
| Field Summary | |
|---|---|
static java.lang.String |
copyrightStatement
|
| Fields inherited from class com.ibm.serviceregistry.ServiceRegistryException |
|---|
messageResource, messageResourceLoader, PROPERTY_BSRURI, rollbackOnly |
| Constructor Summary | |
|---|---|
ConstraintException(ConstraintExceptionType exceptionType,
com.ibm.serviceregistry.admin.constraint.Constraint constraint)
Constructor taking exception type and constraint. |
|
ConstraintException(ConstraintExceptionType exceptionType,
com.ibm.serviceregistry.admin.constraint.Constraint constraint,
java.lang.Object[] messageInserts)
In this constructor the message inserts parameter is used to populate the message inserts for the super class. |
|
| Method Summary | |
|---|---|
com.ibm.serviceregistry.admin.constraint.Constraint |
getConstraint()
Returns the constraint used by or that may have caused this exception. |
ConstraintExceptionType |
getExceptionType()
Returns the exception type. |
java.lang.String |
getFailingEntityId()
Returns the failing entity ID. |
void |
setConstraint(com.ibm.serviceregistry.admin.constraint.Constraint constraint)
Sets the constraint used by or that may have caused this exception. |
void |
setFailingEntityId(java.lang.String string)
Sets the failing entity ID. |
| Methods inherited from class com.ibm.serviceregistry.exception.admin.AdminException |
|---|
getCause |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyrightStatement
| Constructor Detail |
|---|
public ConstraintException(ConstraintExceptionType exceptionType,
com.ibm.serviceregistry.admin.constraint.Constraint constraint)
exceptionType - constraint - public ConstraintException(ConstraintExceptionType exceptionType,
com.ibm.serviceregistry.admin.constraint.Constraint constraint,
java.lang.Object[] messageInserts)
exceptionType - constraint - messageInserts - | Method Detail |
|---|
public void setConstraint(com.ibm.serviceregistry.admin.constraint.Constraint constraint)
constraint - public com.ibm.serviceregistry.admin.constraint.Constraint getConstraint()
public java.lang.String getFailingEntityId()
public void setFailingEntityId(java.lang.String string)
string - public ConstraintExceptionType getExceptionType()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||