com.genesyslab.ail.exception
Class ConfigErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.genesyslab.ail.exception.RequestFailedException
              extended by com.genesyslab.ail.exception.ServiceException
                  extended by com.genesyslab.ail.exception.ConfigServiceException
                      extended by com.genesyslab.ail.exception.ConfigErrorException
All Implemented Interfaces:
java.io.Serializable

public class ConfigErrorException
extends ConfigServiceException

Exception thrown when a request to the the Configuration Layer fails.

See Also:
Serialized Form

Constructor Summary
ConfigErrorException(java.lang.String name, java.lang.String error)
          Constructor for this exception.
 
Method Summary
 java.lang.String getError()
          Returns a String representing the error that occurred.
 java.lang.String toString()
          Returns a String representation of this Exception.
 
Methods inherited from class com.genesyslab.ail.exception.ServiceException
getName, getStatus
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigErrorException

public ConfigErrorException(java.lang.String name,
                            java.lang.String error)
Constructor for this exception.

Parameters:
name - the name of the configuration service.
error - the error that occurred.
Method Detail

getError

public java.lang.String getError()
Returns a String representing the error that occurred.


toString

public java.lang.String toString()
Returns a String representation of this Exception.

Overrides:
toString in class ServiceException