This may be thrown by a resource adapter when an application uses a shareable connection in an unshareable manner.
| Access | Constructor and Description |
|---|---|
| public | |
| public | SharingViolationException(String
the detail message. message)Constructs a new instance with the specified detail message. |
| public | SharingViolationException(Throwable
a chained exception of type
cause)Throwable.Constructs a new throwable with the specified cause. |
| public | SharingViolationException(String
the detail message. message, Throwable a chained exception of type
cause)Throwable.Constructs a new throwable with the specified detail message and cause. |
| public | SharingViolationException(String
a description of the exception. message, String a string specifying the vendor specific error code. errorCode)Constructs a new throwable with the specified detail message and error code. |
| SharingViolationException | back to summary |
|---|---|
| public SharingViolationException() Constructs a new instance with null as its detail message. | |
| SharingViolationException | back to summary |
|---|---|
| public SharingViolationException(String message) Constructs a new instance with the specified detail message.
| |
| SharingViolationException | back to summary |
|---|---|
| public SharingViolationException(Throwable cause) Constructs a new throwable with the specified cause.
| |
| SharingViolationException | back to summary |
|---|---|
| public SharingViolationException(String message, Throwable cause) Constructs a new throwable with the specified detail message and cause. | |
| SharingViolationException | back to summary |
|---|---|
| public SharingViolationException(String message, String errorCode) Constructs a new throwable with the specified detail message and error code. | |