org.wso2.carbon.registry.core.exceptions
Class RegistryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.wso2.carbon.registry.core.exceptions.RegistryException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthorizationFailedException, ConcurrentModificationException, ResourceNotFoundException, SynchronizationException

public class RegistryException
extends Exception

Base Class for capturing any type of exception that occurs when using the Registry APIs.

See Also:
Serialized Form

Constructor Summary
RegistryException(String message)
          Constructs a new exception with the specified detail message.
RegistryException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

RegistryException

public RegistryException(String message)
Constructs a new exception with the specified detail message.

Parameters:
message - the detail message.

RegistryException

public RegistryException(String message,
                         Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - the detail message.
cause - the cause of this exception.


Copyright © 2010. All Rights Reserved.