public class ConceptNameInUseException extends APIException
Constructor and Description |
---|
ConceptNameInUseException()
Generic constructor that gives a normal message about editing not being allowed to the user.
|
ConceptNameInUseException(java.lang.String message)
Convenience constructor to give the user a message other than normal default one
|
ConceptNameInUseException(java.lang.String message,
java.lang.Throwable cause)
Convenience constructor to give the user a message other than the normal one and to chain
this exception with a parent exception.
|
ConceptNameInUseException(java.lang.Throwable cause)
Convenience constructor used to only set the parent exception to chain with.
|
public ConceptNameInUseException()
public ConceptNameInUseException(java.lang.String message)
message
- the String to show to the user as to why the conceptName's name can't be
changedpublic ConceptNameInUseException(java.lang.String message, java.lang.Throwable cause)
message
- the String to show to the user as to why the conceptName's name can't be
changedcause
- the parent exceptionpublic ConceptNameInUseException(java.lang.Throwable cause)
ConceptNameInUseException(String, Throwable)
constructor is preferred over this one.cause
- the parent exceptionCopyright © 2018 OpenMRS Inc.. All Rights Reserved.