public class SynchronizationException extends RegistryException
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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.public MessageCode getCode()
public String[] getParameters()
public String getMessage()
getMessage
in class Throwable
Copyright © 2016 WSO2 Inc. All Rights Reserved.