1 17 package org.alfresco.service.cmr.security; 18 19 import org.alfresco.repo.security.person.PersonException; 20 21 26 public class NoSuchPersonException extends PersonException 27 { 28 private static final long serialVersionUID = -8514361120995433997L; 29 30 private final String userName; 31 32 public NoSuchPersonException(String userName) 33 { 34 super(String.format("User does not exist and could not be created: %s", userName)); 35 this.userName = userName; 36 } 37 38 public String getUserName() 39 { 40 return userName; 41 } 42 } 43 | Popular Tags |