|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.wso2.carbon.registry.api.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.synchronization.SynchronizationException
public class SynchronizationException
This type of exception is thrown when an error occurs while performing a synchronization operation on the Registry.
Constructor Summary | |
---|---|
SynchronizationException(MessageCode code)
Constructs a new exception with the specified message code. |
|
SynchronizationException(MessageCode code,
String[] parameters)
Constructs a new exception with the specified message code and cause and parameters related to this exception's detailed message. |
|
SynchronizationException(MessageCode code,
Throwable cause)
Constructs a new exception with the specified message code and cause. |
|
SynchronizationException(MessageCode code,
Throwable cause,
String[] parameters)
Constructs a new exception with the specified message code and cause and parameters related to this exception's detailed message. |
Method Summary | |
---|---|
MessageCode |
getCode()
Method to retrieve the message code of the detailed message of this exception. |
String |
getMessage()
Returns the detail message string of this throwable. |
String[] |
getParameters()
Method to retrieve the parameters of the detailed message of this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 |
---|
public SynchronizationException(MessageCode code, Throwable cause)
code
- the message code of the error.cause
- the cause of this exception.public SynchronizationException(MessageCode code, Throwable cause, String[] parameters)
code
- the message code of the error.cause
- the cause of this exception.parameters
- the parameters related to this exception.public SynchronizationException(MessageCode code, String[] parameters)
code
- the message code of the error.parameters
- the parameters related to this exception.public SynchronizationException(MessageCode code)
code
- the message code of the error.Method Detail |
---|
public MessageCode getCode()
public String[] getParameters()
public String getMessage()
getMessage
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |