| Package | Description |
|---|---|
| org.gcube.common.clients.exceptions |
| Modifier and Type | Class and Description |
|---|---|
class |
DiscoveryException
Raised when services endpoints cannot be discovered.
|
class |
IllegalScopeException
A
ServiceException raised when attempt to contact service endpoints outside the scope. |
class |
InvalidRequestException
A
ServiceException raised when client requests are invalid for services. |
class |
NoSuchEndpointException
A
ServiceException raised when services endpoints are not reachable. |
class |
UnsupportedOperationException
Raised with requests to service operations that are not supported.
|
class |
UnsupportedRequestException
Raised with requests to services which are not supported by the target plugin.
|
| Modifier and Type | Method and Description |
|---|---|
<T1 extends Throwable> |
FaultDSL.AsClause.as(Class<T1> clazz1)
Rethrows the fault with a narrower type, or wraps it in
ServiceException if its type cannot be narrowed. |
<T1 extends Throwable,T2 extends Throwable> |
FaultDSL.AsClause.as(Class<T1> clazz1,
Class<T2> clazz2)
Rethrows the fault with a narrower type, or wraps it in
ServiceException if its type cannot be narrowed. |
<T1 extends Throwable,T2 extends Throwable,T3 extends Throwable> |
FaultDSL.AsClause.as(Class<T1> clazz1,
Class<T2> clazz2,
Class<T3> clazz3)
Rethrows the fault with a narrower type, or wraps it in
ServiceException if its type cannot be narrowed. |
<T1 extends Throwable,T2 extends Throwable,T3 extends Throwable,T4 extends Throwable> |
FaultDSL.AsClause.as(Class<T1> clazz1,
Class<T2> clazz2,
Class<T3> clazz3,
Class<T4> clazz4)
Rethrows the fault with a narrower type, or wraps it in
ServiceException if its type cannot be narrowed. |
ServiceException |
FaultDSL.AsClause.asServiceException()
Throws a
ServiceException caused by a given fault |
Copyright © 2017. All Rights Reserved.