Class BusinessContextNotEnabledForCurrentChannelException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- lumis.portal.PortalException
-
- lumis.portal.businesscontext.internal.BusinessContextNotEnabledForCurrentChannelException
-
- All Implemented Interfaces:
Serializable
public class BusinessContextNotEnabledForCurrentChannelException extends PortalException
This exception indicates that the BusinessContext is not enabled nor inherited in the current 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 BusinessContextNotEnabledForCurrentChannelException(String channelId)
Default constructor.BusinessContextNotEnabledForCurrentChannelException(String message, IResource resource)
Constructor that receives the massage and the resource to translate it.
-
Method Summary
-
Methods inherited from class lumis.portal.PortalException
getLocalizedMessage, getLocalizedMessage, getResources, logExceptionCreation, toString, toXmlString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
BusinessContextNotEnabledForCurrentChannelException
public BusinessContextNotEnabledForCurrentChannelException(String message, IResource resource)
Constructor that receives the massage and the resource to translate it.- Parameters:
message
- to be shown or logged.resource
- to translate the message.- Since:
- 7.0.0
-
BusinessContextNotEnabledForCurrentChannelException
public BusinessContextNotEnabledForCurrentChannelException(String channelId)
Default constructor.- Parameters:
channelId
- id of the channel in which the exception occured.- Since:
- 7.0.0
-
-