lumis.portal.serviceinstance
Class ServiceInstanceDuplicatedInChannelException

Package class diagram package ServiceInstanceDuplicatedInChannelException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by lumis.portal.PortalException
              extended by lumis.portal.serviceinstance.ServiceInstanceDuplicatedInChannelException
All Implemented Interfaces:
Serializable

public class ServiceInstanceDuplicatedInChannelException
extends PortalException

Exception that indicates that there are more than one service instance of the same service id in a channel.

Since:
7.0.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class lumis.portal.PortalException
resources
 
Constructor Summary
ServiceInstanceDuplicatedInChannelException(String serviceId, String channelId)
          Constructor that uses the default message and receives the serviceId and channelId.
ServiceInstanceDuplicatedInChannelException(String message, String serviceId, String channelId)
          Constructor that receives a message (if does not want the default message) and the serviceId.
 
Method Summary
 String getChannelId()
          Returns the channelId in which the service has been duplicated.
 String getServiceId()
          Returns the serviceId of the duplicated service.
 
Methods inherited from class lumis.portal.PortalException
getLocalizedMessage, getLocalizedMessage, getResources, logExceptionCreation, toString, toXmlString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceInstanceDuplicatedInChannelException

public ServiceInstanceDuplicatedInChannelException(String message,
                                                   String serviceId,
                                                   String channelId)
Constructor that receives a message (if does not want the default message) and the serviceId.

Parameters:
message - internationalizable message for the exception.
serviceId - id of the service that has been duplicated.
channelId - id of the channel in which the service has been duplicated.
Since:
7.0.0

ServiceInstanceDuplicatedInChannelException

public ServiceInstanceDuplicatedInChannelException(String serviceId,
                                                   String channelId)
Constructor that uses the default message and receives the serviceId and channelId.

Parameters:
serviceId - id of the service that has been duplicated.
channelId - id of the channel in which the service has been duplicated.
Since:
7.0.0
Method Detail

getServiceId

public String getServiceId()
Returns the serviceId of the duplicated service.

Returns:
the serviceId of the duplicated service.
Since:
7.0.0

getChannelId

public String getChannelId()
Returns the channelId in which the service has been duplicated.

Returns:
the channelId in which the service has been duplicated.
Since:
7.0.0


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.