Package lumis.portal.serviceinstance
Class ServiceInstanceDuplicatedInChannelException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- lumis.portal.PortalException
-
- lumis.portal.serviceinstance.ServiceInstanceDuplicatedInChannelException
-
- All Implemented Interfaces:
java.io.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
- Version:
- $Revision: 15055 $ $Date: 2012-11-29 18:48:37 -0200 (Thu, 29 Nov 2012) $
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class lumis.portal.PortalException
resources
-
-
Constructor Summary
Constructors Constructor Description ServiceInstanceDuplicatedInChannelException(java.lang.String serviceId, java.lang.String channelId)
Constructor that uses the default message and receives the serviceId and channelId.ServiceInstanceDuplicatedInChannelException(java.lang.String message, java.lang.String serviceId, java.lang.String channelId)
Constructor that receives a message (if does not want the default message) and the serviceId.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getChannelId()
Returns the channelId in which the service has been duplicated.java.lang.String
getServiceId()
Returns the serviceId of the duplicated service.-
Methods inherited from class lumis.portal.PortalException
getLocalizedMessage, getLocalizedMessage, getResources, logExceptionCreation, toString, toXmlString
-
-
-
-
Constructor Detail
-
ServiceInstanceDuplicatedInChannelException
public ServiceInstanceDuplicatedInChannelException(java.lang.String message, java.lang.String serviceId, java.lang.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(java.lang.String serviceId, java.lang.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 java.lang.String getServiceId()
Returns the serviceId of the duplicated service.- Returns:
- the serviceId of the duplicated service.
- Since:
- 7.0.0
-
getChannelId
public java.lang.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
-
-