AbstractClass class

package flashscriptMVC
{
	import flash.errors.IllegalOperationError;
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.events.MouseEvent;
	import flash.events.KeyboardEvent;
	public class AbstractClass extends Sprite
	{
		protected var model:Object;
		protected var controller:Object;
		
		public function AbstractClass (aModel:Object, aController:Object = null):void
		{
			model = aModel;
			controller = aController;
		}
		public function update (event:Event = null):void
		{
			throw new IllegalOperationError("update operation not supported");
		}
		public function submitHandler (event:MouseEvent):void
		{
			throw new IllegalOperationError("submitHandler operation not supported");
		}
		public function keyHandler (event:KeyboardEvent):void
		{
			throw new IllegalOperationError("keyHandler operation not supported");
		}
	}
}