public class DuplicateRegistrationException extends IllegalArgumentException
Constructor and Description |
---|
DuplicateRegistrationException()
Constructs a
DuplicateRegistrationException with no detail message. |
DuplicateRegistrationException(String msg)
Constructs a
DuplicateRegistrationException with the specified detail message. |
DuplicateRegistrationException(String msg,
Throwable cause)
Constructs a
DuplicateRegistrationException with the specified detail message and cause. |
DuplicateRegistrationException(Throwable cause)
Constructs a
DuplicateRegistrationException with the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DuplicateRegistrationException()
DuplicateRegistrationException
with no detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause
.public DuplicateRegistrationException(String msg)
DuplicateRegistrationException
with the specified detail message. The cause is not initialized,
and may subsequently be initialized by a call to initCause
.msg
- the detail messagepublic DuplicateRegistrationException(Throwable cause)
DuplicateRegistrationException
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 DuplicateRegistrationException(String msg, Throwable cause)
DuplicateRegistrationException
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 © 2012 JBoss by Red Hat. All Rights Reserved.