Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


com.tangosol.net
Class RequestPolicyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.tangosol.io.pof.PortableException
                  extended by com.tangosol.net.RequestPolicyException

All Implemented Interfaces:
PortableObject, java.io.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

Field Summary

 

Fields inherited from class com.tangosol.io.pof.PortableException
m_asStackRemote, m_sMessage, m_sName

 

Constructor Summary
RequestPolicyException()
          Constructs a RequestPolicyException with no detail message.
RequestPolicyException(java.lang.String s)
          Constructs a RequestPolicyException with the specified detail message.
RequestPolicyException(java.lang.String s, java.lang.Throwable e)
          Construct a RequestPolicyException from a Throwable object and an additional description.
RequestPolicyException(java.lang.Throwable e)
          Construct a RequestPolicyException from a Throwable object.

 

Method Summary
 void readExternal(PofReader in)
          Restore the contents of a user type instance by reading its state using the specified PofReader object.
 void writeExternal(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, toString

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace

 

Constructor Detail

RequestPolicyException

public RequestPolicyException()
Constructs a RequestPolicyException with no detail message.

RequestPolicyException

public RequestPolicyException(java.lang.String s)
Constructs a RequestPolicyException with the specified detail message.
Parameters:
s - the String that contains a detailed message

RequestPolicyException

public RequestPolicyException(java.lang.Throwable e)
Construct a RequestPolicyException from a Throwable object.
Parameters:
e - the Throwable object

RequestPolicyException

public RequestPolicyException(java.lang.String s,
                              java.lang.Throwable e)
Construct a RequestPolicyException from a Throwable object and an additional description.
Parameters:
s - the additional description
e - the Throwable object

Method Detail

readExternal

public void readExternal(PofReader in)
                  throws java.io.IOException
Restore the contents of a user type instance by reading its state using the specified PofReader object.
Specified by:
readExternal in interface PortableObject
Overrides:
readExternal in class PortableException
Parameters:
in - the PofReader from which to read the object's state
Throws:
java.io.IOException - if an I/O error occurs

writeExternal

public void writeExternal(PofWriter out)
                   throws java.io.IOException
Save the contents of a POF user type instance by writing its state using the specified PofWriter object.
Specified by:
writeExternal in interface PortableObject
Overrides:
writeExternal in class PortableException
Parameters:
out - the PofWriter to which to write the object's state
Throws:
java.io.IOException - if an I/O error occurs

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.