- 
    Type:Improvement 
- 
    Status: Done (View Workflow)
- 
    Priority:Major 
- 
    Resolution: Fixed
- 
    Affects Version/s: common 0.7
- 
    Fix Version/s: common 0.11
- 
    Labels:
So instead of having
  /**
     * Create exception with specific message.
     *
     * @param message exception message
     */
    public DuplicateEmailException(String message) {
        super(message);
    }
We need this style of exceptions:
public DuplicateEmailException(String email) { this.email = email; super("Email is duplicated [" + email + "]"); }
If you think that user should be allowed to pass a custom error message, then such constructor should be created:
public DuplicateEmailException(String email, String errorMessage)
