|
|||||||||||
| 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.ServiceRegistryModificationException
public class ServiceRegistryModificationException
Thrown to indicate one or more errors occurred while running a modification plugin. The result will be that the transaction will be rolled back and both the changes made by the modification plugin and all changes made as a result of the original event will be rolled back.
| Field Summary | |
|---|---|
static java.lang.String |
copyrightStatement
|
| Fields inherited from class com.ibm.serviceregistry.ServiceRegistryException |
|---|
messageResource, messageResourceLoader, PROPERTY_BSRURI, rollbackOnly |
| Constructor Summary | |
|---|---|
ServiceRegistryModificationException(java.lang.String key,
java.lang.Object[] inserts)
|
|
ServiceRegistryModificationException(java.lang.String key,
java.lang.Object[] inserts,
java.lang.Throwable cause)
|
|
| Method Summary | |
|---|---|
java.util.List |
getDiagnosticMessages()
Obtain the diagnostic messages attached to this validation exception. |
java.util.List |
getDiagnosticMessages(java.util.Locale locale)
Obtain the diagnostic messages attached to this validation exception in a specific Locale. |
java.util.List |
getDiagnostics()
Deprecated. |
java.util.List<ServiceRegistryDiagnostic> |
getFullDiagnostics()
Return the raw diagnostic data. |
void |
setDiagnostics(java.util.List objects)
Deprecated. |
void |
setFullDiagnostics(java.util.List<ServiceRegistryDiagnostic> objects)
Set the raw diagnostic data. |
java.lang.String |
toString()
Override toString() to include the diagnostic messages |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| 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 ServiceRegistryModificationException(java.lang.String key,
java.lang.Object[] inserts)
public ServiceRegistryModificationException(java.lang.String key,
java.lang.Object[] inserts,
java.lang.Throwable cause)
| Method Detail |
|---|
public java.util.List getDiagnosticMessages()
public java.util.List getDiagnosticMessages(java.util.Locale locale)
locale - The locale in which to format the messages
public java.util.List<ServiceRegistryDiagnostic> getFullDiagnostics()
public void setFullDiagnostics(java.util.List<ServiceRegistryDiagnostic> objects)
objects - A List of diagnostic objectspublic java.util.List getDiagnostics()
public void setDiagnostics(java.util.List objects)
objects - A List of diagnostic objectspublic java.lang.String toString()
toString in class java.lang.Throwable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||