/***************************************************************************
                            kde_CSSException.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_CSSEXCEPTION
#define KDE_CSSEXCEPTION

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 This exception is raised when a specific CSS operation is impossible
 to perform.
 
 @short 
 This exception is raised when a specific CSS operation is impossible
 to perform.
*/
#define CSSEXCEPTION_SYNTAX_ERR	0
#define CSSEXCEPTION_INVALID_MODIFICATION_ERR	1
#define CSSEXCEPTION__EXCEPTION_OFFSET	1000
kde_CSSException * kde_new_CSSException(unsigned short _code);
kde_CSSException * kde_new_CSSException1(kde_CSSException* other);
void kde_del_CSSException( kde_CSSException* p );

#endif
