<?php

/**
 * Exception thrown by Sabre_VObject_Reader if an invalid object was attempted to be parsed.
 * 
 * @package Sabre
 * @subpackage VObject
 * @copyright Copyright (C) 2007-2011 Rooftop Solutions. All rights reserved.
 * @author Evert Pot (http://www.rooftopsolutions.nl/) 
 * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
 */
class Sabre_VObject_ParseException extends Sabre_DAV_Exception {

	/**
	 * Returns the HTTP statuscode for this exception
	 *
	 * @return int
	 */
	public function getHTTPCode() {

		//422 Unprocessable Entity (WebDAV; RFC 4918)
		return 422;

	}

}
