|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception javax.resource.ResourceException (src) javax.resource.spi.SharingViolationException
Thrown when a shared connection is used in an unshareable manner.
Constructor Summary | |
SharingViolationException()
Create an exception. |
|
SharingViolationException(java.lang.String reason)
Create an exception with a reason. |
|
SharingViolationException(java.lang.String reason,
java.lang.String errorCode)
Create an exception with a reason and an errorCode. |
|
SharingViolationException(java.lang.String reason,
java.lang.Throwable throwable)
Create an exception with a reason and an error. |
|
SharingViolationException(java.lang.Throwable throwable)
Create an exception with an error. |
Methods inherited from class javax.resource.ResourceException (src) |
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 |
public SharingViolationException()
public SharingViolationException(java.lang.String reason)
reason
- the reasonpublic SharingViolationException(java.lang.String reason, java.lang.String errorCode)
reason
- the reasonerrorCode
- the error codepublic SharingViolationException(java.lang.String reason, java.lang.Throwable throwable)
reason
- the reasonthrowable
- the errorpublic SharingViolationException(java.lang.Throwable throwable)
throwable
- the error
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |