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