Package com.tangosol.net
Class RequestPolicyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tangosol.io.pof.PortableException
com.tangosol.net.RequestPolicyException
- All Implemented Interfaces:
- PortableObject,- SerializationSupport,- Serializable
Signals that a request was not allowed to complete due to the related service
 action being disallowed by the corresponding ActionPolicy.
- Since:
- Coherence 3.6
- Author:
- rhl 2009.10.02
- See Also:
- 
Field SummaryFields inherited from class com.tangosol.io.pof.PortableExceptionm_asStackRemote, m_sMessage, m_sName
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs a RequestPolicyException with no detail message.Constructs a RequestPolicyException with the specified detail message.Construct a RequestPolicyException from a Throwable object and an additional description.Construct a RequestPolicyException from a Throwable object.
- 
Method SummaryModifier and TypeMethodDescriptionvoidRestore the contents of a user type instance by reading its state using the specified PofReader object.voidwriteExternal(PofWriter out) Save the contents of a POF user type instance by writing its state using the specified PofWriter object.Methods inherited from class com.tangosol.io.pof.PortableExceptiongetFullStackTrace, getMessage, getName, printStackTrace, printStackTrace, readResolve, toStringMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTraceMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.tangosol.io.SerializationSupportwriteReplace
- 
Constructor Details- 
RequestPolicyExceptionpublic RequestPolicyException()Constructs a RequestPolicyException with no detail message.
- 
RequestPolicyExceptionConstructs a RequestPolicyException with the specified detail message.- Parameters:
- s- the String that contains a detailed message
 
- 
RequestPolicyExceptionConstruct a RequestPolicyException from a Throwable object.- Parameters:
- e- the Throwable object
 
- 
RequestPolicyExceptionConstruct a RequestPolicyException from a Throwable object and an additional description.- Parameters:
- s- the additional description
- e- the Throwable object
 
 
- 
- 
Method Details- 
readExternalRestore the contents of a user type instance by reading its state using the specified PofReader object.- Specified by:
- readExternalin interface- PortableObject
- Overrides:
- readExternalin class- PortableException
- Parameters:
- in- the PofReader from which to read the object's state
- Throws:
- IOException- if an I/O error occurs
 
- 
writeExternalSave the contents of a POF user type instance by writing its state using the specified PofWriter object.- Specified by:
- writeExternalin interface- PortableObject
- Overrides:
- writeExternalin class- PortableException
- Parameters:
- out- the PofWriter to which to write the object's state
- Throws:
- IOException- if an I/O error occurs
 
 
-