public class DuplicateServiceException extends ServiceRegistryException
Constructor and Description |
---|
DuplicateServiceException()
Constructs a
DuplicateServiceException with no detail message. |
DuplicateServiceException(String msg)
Constructs a
DuplicateServiceException with the specified detail message. |
DuplicateServiceException(String msg,
Throwable cause)
Constructs a
DuplicateServiceException with the specified detail message and cause. |
DuplicateServiceException(Throwable cause)
Constructs a
DuplicateServiceException with the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DuplicateServiceException()
DuplicateServiceException
with no detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause
.public DuplicateServiceException(String msg)
DuplicateServiceException
with the specified detail message. The cause is not initialized, and
may subsequently be initialized by a call to initCause
.msg
- the detail messagepublic DuplicateServiceException(Throwable cause)
DuplicateServiceException
with the specified cause. The detail message is set to:
(cause == null ? null : cause.toString())(which typically contains the class and detail message of
cause
).cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method)public DuplicateServiceException(String msg, Throwable cause)
DuplicateServiceException
with the specified detail message and cause.msg
- the detail messagecause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method)Copyright © 2021 JBoss by Red Hat. All rights reserved.