public class ConceptInUseException extends APIException
ConceptService#checkIfConceptIsAttachedToAnObservation()
,
ConceptService.saveConcept(org.openmrs.Concept)
,
Serialized FormConstructor and Description |
---|
ConceptInUseException()
Generic constructor that gives a normal message about editing not being allowed to the user.
|
ConceptInUseException(String message)
Convenience constructor to give the user a message other than normal default one
|
ConceptInUseException(String message,
Throwable cause)
Convenience constructor to give the user a message other than the normal one and to chain
this exception with a parent exception.
|
ConceptInUseException(Throwable cause)
Convenience constructor used to only set the parent exception to chain with.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConceptInUseException()
public ConceptInUseException(String message)
message
- the String to show to the user as to why the concepts are lockedpublic ConceptInUseException(String message, Throwable cause)
message
- the String to show to the user as to why the concepts are lockedcause
- the parent exceptionpublic ConceptInUseException(Throwable cause)
ConceptInUseException(String, Throwable)
constructor is preferred over this one.cause
- the parent exceptionCopyright © 2018 OpenMRS LLC.. All Rights Reserved.