javax.resource.spi
Class SharingViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.resource.ResourceException
              extended by javax.resource.spi.SharingViolationException
All Implemented Interfaces:
Serializable

public class SharingViolationException
extends ResourceException

Thrown when a shared connection is used in an unshareable manner.

See Also:
Serialized Form

Constructor Summary
SharingViolationException()
          Create an exception.
SharingViolationException(String reason)
          Create an exception with a reason.
SharingViolationException(String reason, String errorCode)
          Create an exception with a reason and an errorCode.
SharingViolationException(String reason, Throwable throwable)
          Create an exception with a reason and an error.
SharingViolationException(Throwable throwable)
          Create an exception with an error.
 
Method Summary
 
Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

SharingViolationException

public SharingViolationException()
Create an exception.


SharingViolationException

public SharingViolationException(String reason)
Create an exception with a reason.

Parameters:
reason - the reason

SharingViolationException

public SharingViolationException(String reason,
                                 String errorCode)
Create an exception with a reason and an errorCode.

Parameters:
reason - the reason
errorCode - the error code

SharingViolationException

public SharingViolationException(String reason,
                                 Throwable throwable)
Create an exception with a reason and an error.

Parameters:
reason - the reason
throwable - the error

SharingViolationException

public SharingViolationException(Throwable throwable)
Create an exception with an error.

Parameters:
throwable - the error


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.