Class GovernanceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.wso2.carbon.registry.api.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.governance.api.exception.GovernanceException
- All Implemented Interfaces:
Serializable
public class GovernanceException
extends org.wso2.carbon.registry.core.exceptions.RegistryException
Base Class for capturing any type of exception that occurs when using the Governance APIs.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception.GovernanceException(String message) Constructs a new exception with the specified detail message.GovernanceException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.GovernanceException(Throwable cause) Constructs a new exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GovernanceException
public GovernanceException()Constructs a new exception. -
GovernanceException
Constructs a new exception with the specified detail message.- Parameters:
message- the detail message.
-
GovernanceException
Constructs a new exception with the specified detail message and cause.- Parameters:
message- the detail message.cause- the cause of this exception.
-
GovernanceException
Constructs a new exception with the specified cause.- Parameters:
cause- the cause of this exception.
-