Subversion Repositories SmartDukaan

Rev

Rev 4501 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#
# Autogenerated by Thrift Compiler (0.7.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#

from thrift.Thrift import *

from thrift.transport import TTransport
from thrift.protocol import TBinaryProtocol, TProtocol
try:
  from thrift.protocol import fastbinary
except:
  fastbinary = None


class ExceptionType:
  NULL_POINTER = 101
  ILLEGAL_ARGUMENTS = 102
  DATABASE_ERROR = 103
  NOT_AUTHORIZED = 104
  MULTIPLE_ITEMS_FOUND = 105

  _VALUES_TO_NAMES = {
    101: "NULL_POINTER",
    102: "ILLEGAL_ARGUMENTS",
    103: "DATABASE_ERROR",
    104: "NOT_AUTHORIZED",
    105: "MULTIPLE_ITEMS_FOUND",
  }

  _NAMES_TO_VALUES = {
    "NULL_POINTER": 101,
    "ILLEGAL_ARGUMENTS": 102,
    "DATABASE_ERROR": 103,
    "NOT_AUTHORIZED": 104,
    "MULTIPLE_ITEMS_FOUND": 105,
  }