/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIIDBDatabaseException.idl
 */

#ifndef __gen_nsIIDBDatabaseException_h__
#define __gen_nsIIDBDatabaseException_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsIIDBDatabaseException */
#define NS_IIDBDATABASEEXCEPTION_IID_STR "2f182bf1-1542-47fe-b2f7-4b1741b5283c"

#define NS_IIDBDATABASEEXCEPTION_IID \
  {0x2f182bf1, 0x1542, 0x47fe, \
    { 0xb2, 0xf7, 0x4b, 0x17, 0x41, 0xb5, 0x28, 0x3c }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIIDBDatabaseException : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IIDBDATABASEEXCEPTION_IID)

  enum { UNKNOWN_ERR = 0U };

  enum { NON_TRANSIENT_ERR = 1U };

  enum { NOT_FOUND_ERR = 2U };

  enum { CONSTRAINT_ERR = 3U };

  enum { DATA_ERR = 4U };

  enum { NOT_ALLOWED_ERR = 5U };

  enum { SERIAL_ERR = 11U };

  enum { RECOVERABLE_ERR = 21U };

  enum { TRANSIENT_ERR = 31U };

  enum { TIMEOUT_ERR = 32U };

  enum { DEADLOCK_ERR = 33U };

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIIDBDatabaseException, NS_IIDBDATABASEEXCEPTION_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIIDBDATABASEEXCEPTION \

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIIDBDATABASEEXCEPTION(_to) \

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIIDBDATABASEEXCEPTION(_to) \

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsIDBDatabaseException : public nsIIDBDatabaseException
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIIDBDATABASEEXCEPTION

  nsIDBDatabaseException();

private:
  ~nsIDBDatabaseException();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsIDBDatabaseException, nsIIDBDatabaseException)

nsIDBDatabaseException::nsIDBDatabaseException()
{
  /* member initializers and constructor code */
}

nsIDBDatabaseException::~nsIDBDatabaseException()
{
  /* destructor code */
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIIDBDatabaseException_h__ */
