key0-96/
key0-96/doc/key/
key0-96/doc/key/credits/
key0-96/doc/key/developers/
key0-96/doc/key/developers/resources/
key0-96/setup/caves/
key0-96/setup/help/
key0-96/setup/ruins/
key0-96/src/
key0-96/src/commands/
key0-96/src/events/
key0-96/src/hack/
key0-96/src/sql/
key0-96/src/swing/
key0-96/src/talker/forest/
key0-96/src/talker/objects/
key0-96/src/terminals/
package key;

/**
  *  Kind of like an AccessViolation, but not so serious (it isn't
  *  logged, for instance).  It just means that you've tried to
  *  do something you can't, but something that isn't necessarily
  *  malicious.
 */
public class PermissionDeniedException
extends RuntimeException
implements UserOutputException
{
	Object on;
	
	public PermissionDeniedException( Object o, String msg )
	{
		super( msg );
		on = o;
	}
	
	public void send( InteractiveConnection ic )
	{
		ic.sendFailure( "Permission denied while " + getMessage() );
	}
}