package com.tootsville.joshua.client.except;

public class PermissionRequiredException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 508101085516586808L;

	private String username;

	public PermissionRequiredException () {
		// no code
	}

	public PermissionRequiredException (final String username1) {
		username = username1;
	}

	@Override
	public String getMessage () {
		return "The user "
				+ username
				+ " does not have sufficient priveledges to perform this action.";
	}

}
