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
public class RequestPolicyException extends PortableException
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:
 ActionPolicy, Serialized Form
 
- 
- 
Field Summary
- 
Fields inherited from class com.tangosol.io.pof.PortableException
m_asStackRemote, m_sMessage, m_sName 
 - 
 
- 
Constructor Summary
Constructors Constructor Description RequestPolicyException()Constructs a RequestPolicyException with no detail message.RequestPolicyException(String s)Constructs a RequestPolicyException with the specified detail message.RequestPolicyException(String s, Throwable e)Construct a RequestPolicyException from a Throwable object and an additional description.RequestPolicyException(Throwable e)Construct a RequestPolicyException from a Throwable object. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadExternal(PofReader in)Restore 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.PortableException
getFullStackTrace, getMessage, getName, printStackTrace, printStackTrace, readResolve, toString 
- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface com.tangosol.io.SerializationSupport
writeReplace 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
RequestPolicyException
public RequestPolicyException()
Constructs a RequestPolicyException with no detail message. 
- 
RequestPolicyException
public RequestPolicyException(String s)
Constructs a RequestPolicyException with the specified detail message.- Parameters:
 s- the String that contains a detailed message
 
- 
RequestPolicyException
public RequestPolicyException(Throwable e)
Construct a RequestPolicyException from a Throwable object.- Parameters:
 e- the Throwable object
 
 - 
 
- 
Method Detail
- 
readExternal
public void readExternal(PofReader in) throws IOException
Restore the contents of a user type instance by reading its state using the specified PofReader object.- Specified by:
 readExternalin interfacePortableObject- Overrides:
 readExternalin classPortableException- Parameters:
 in- the PofReader from which to read the object's state- Throws:
 IOException- if an I/O error occurs
 
- 
writeExternal
public void writeExternal(PofWriter out) throws IOException
Save the contents of a POF user type instance by writing its state using the specified PofWriter object.- Specified by:
 writeExternalin interfacePortableObject- Overrides:
 writeExternalin classPortableException- Parameters:
 out- the PofWriter to which to write the object's state- Throws:
 IOException- if an I/O error occurs
 
 - 
 
 -