oracle.ord.im
Class WrongTierException
oracle.ord.im.OrdJboException
|
+--oracle.ord.im.WrongTierException
- public class WrongTierException
- extends OrdJboException
Indicates a domain method that is not supported on a specific tier has been
invoked. Some domain methods are not supported on the
client tier in a multi-tier deployment environment. For example:
OrdImageDomain
: getContent, getBFILE
.
OrdAudioDomain
: getContent, getBFILE, getComments,
setComments, getAllAttributes, getContentInLob
.
OrdVideoDomain
: getContent, getBFILE, getComments,
setComments, getAllAttributes, getContentInLob
.
OrdDocDomain
: getContent, getBFILE, getComments,
setComments, getContentInLob
.
When one of these methods is invoked on a tier that it should not run on,
this exception will be thrown. Check the local mode only tag in the
Javadoc comment for these methods.
- Since:
- JDev5.0
Constructor Summary |
WrongTierException(java.lang.String methodName,
java.lang.String tier)
Constructs a WrongTierException instance. |
WrongTierException
public WrongTierException(java.lang.String methodName,
java.lang.String tier)
- Constructs a
WrongTierException
instance.
- Parameters:
methodName
- the method nametier
- the tier name: "Client Tier"
or "Middle Tier"