com.adobe.idp.dsc.registry.service
Class DuplicateServiceConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.adobe.idp.dsc.DSCException
              extended by com.adobe.idp.dsc.registry.RegistryException
                  extended by com.adobe.idp.dsc.registry.service.DuplicateServiceConfigurationException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateServiceConfigurationException
extends RegistryException

Duplicate service configuration exception.

See Also:
Serialized Form

Constructor Summary
DuplicateServiceConfigurationException(java.lang.String aServiceId, int aMajorVersion, int aMinorVersion)
          Constructor that creates the exception using the service identifier and version information.
 
Method Summary
 int getMajorVersion()
          Retrieves the major version.
 int getMinorVersion()
          Retrieves the minor version.
 java.lang.String getServiceId()
          Retrieves the service identifier.
 
Methods inherited from class com.adobe.idp.dsc.DSCException
getError, getMessage, getNestedThrowable, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateServiceConfigurationException

public DuplicateServiceConfigurationException(java.lang.String aServiceId,
                                              int aMajorVersion,
                                              int aMinorVersion)
Constructor that creates the exception using the service identifier and version information.

Parameters:
aServiceId - The service identifier.
aMajorVersion - The major version.
aMinorVersion - The minor version.
Method Detail

getServiceId

public java.lang.String getServiceId()
Retrieves the service identifier.

Returns:
The service identifier.

getMajorVersion

public int getMajorVersion()
Retrieves the major version.

Returns:
The major version.

getMinorVersion

public int getMinorVersion()
Retrieves the minor version.

Returns:
The minor version.