javax.resource.cci
Class ResourceWarning

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.resource.ResourceException
              extended by javax.resource.cci.ResourceWarning
All Implemented Interfaces:
java.io.Serializable

public class ResourceWarning
extends ResourceException

Represents a warning.

See Also:
Serialized Form

Constructor Summary
ResourceWarning()
          Creates the resource warning.
ResourceWarning(java.lang.String reason)
          Creates the resource warning.
ResourceWarning(java.lang.String reason, java.lang.String errorCode)
          Creates the resource warning.
ResourceWarning(java.lang.String msg, java.lang.Throwable cause)
           
ResourceWarning(java.lang.Throwable cause)
           
 
Method Summary
 ResourceWarning getLinkedWarning()
          Gets the linked warning.
 void setLinkedWarning(ResourceWarning warning)
          Sets the linked warning.
 
Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, setErrorCode, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceWarning

public ResourceWarning()
Creates the resource warning.


ResourceWarning

public ResourceWarning(java.lang.String reason)
Creates the resource warning.


ResourceWarning

public ResourceWarning(java.lang.Throwable cause)

ResourceWarning

public ResourceWarning(java.lang.String msg,
                       java.lang.Throwable cause)

ResourceWarning

public ResourceWarning(java.lang.String reason,
                       java.lang.String errorCode)
Creates the resource warning.

Method Detail

getLinkedWarning

public ResourceWarning getLinkedWarning()
Gets the linked warning.


setLinkedWarning

public void setLinkedWarning(ResourceWarning warning)
Sets the linked warning.