public class DuplicateServiceRuntimeException extends ServiceBusRuntimeException
ServiceAccessor.ServiceMutator<S extends Service<?>>, ServiceAccessor.ServiceProperty<S extends Service<?>>
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
Constructor and 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 and Description |
---|---|
Service |
getService()
Gets the service.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DuplicateServiceRuntimeException(Service<?> aService, String aMessage, String aErrorCode)
aService
- the a serviceaMessage
- the a messageaErrorCode
- the a error codepublic DuplicateServiceRuntimeException(Service<?> aService, String aMessage, Throwable aCause, String aErrorCode)
aService
- the a serviceaMessage
- the a messageaCause
- the a causeaErrorCode
- the a error codepublic DuplicateServiceRuntimeException(Service<?> aService, String message, Throwable cause)
aService
- the a servicemessage
- the messagecause
- the causepublic DuplicateServiceRuntimeException(Service<?> aService, String message)
aService
- the a servicemessage
- the messagepublic DuplicateServiceRuntimeException(Service<?> aService, Throwable aCause, String aErrorCode)
aService
- the a serviceaCause
- the a causeaErrorCode
- the a error codepublic Service getService()
getService
in interface ServiceAccessor
Copyright © 2018. All rights reserved.