Serializable
, ServiceAccessor
public class DuplicateServiceRuntimeException extends ServiceBusRuntimeException
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
ServiceAccessor.ServiceMutator<S extends Service<?>>, ServiceAccessor.ServiceProperty<S extends Service<?>>
Constructor | Description |
---|---|
DuplicateServiceRuntimeException(Service<?> aService,
String message) |
Instantiates a new duplicate service runtime exception.
|
DuplicateServiceRuntimeException(Service<?> aService,
String aMessage,
String aErrorCode) |
Instantiates a new duplicate service runtime exception.
|
DuplicateServiceRuntimeException(Service<?> aService,
String message,
Throwable cause) |
Instantiates a new duplicate service runtime exception.
|
DuplicateServiceRuntimeException(Service<?> aService,
String aMessage,
Throwable aCause,
String aErrorCode) |
Instantiates a new duplicate service runtime exception.
|
DuplicateServiceRuntimeException(Service<?> aService,
Throwable cause) |
Instantiates a new duplicate service runtime exception.
|
DuplicateServiceRuntimeException(Service<?> aService,
Throwable aCause,
String aErrorCode) |
Instantiates a new duplicate service runtime exception.
|
Modifier and Type | Method | Description |
---|---|---|
Service |
getService() |
Gets the service.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DuplicateServiceRuntimeException(Service<?> aService, String aMessage, String aErrorCode)
aService
- the serviceaMessage
- the messageaErrorCode
- the error codepublic DuplicateServiceRuntimeException(Service<?> aService, String aMessage, Throwable aCause, String aErrorCode)
aService
- the serviceaMessage
- the messageaCause
- the causeaErrorCode
- the error codepublic DuplicateServiceRuntimeException(Service<?> aService, String message, Throwable cause)
aService
- the servicemessage
- the messagecause
- the causepublic DuplicateServiceRuntimeException(Service<?> aService, String message)
aService
- the servicemessage
- the messagepublic DuplicateServiceRuntimeException(Service<?> aService, Throwable aCause, String aErrorCode)
aService
- the serviceaCause
- the causeaErrorCode
- the error codepublic Service getService()
getService
in interface ServiceAccessor
Copyright © 2018. All rights reserved.