Package backend :: Package common :: Module rhnException
[hide private]
[frames] | no frames]

Module rhnException

source code

Classes [hide private]
  rhnException
This is the generic exception class we raise in the code when we want to abort program execution and send a "500 Internal Server Error" message back to the client.
  redirectException
pkilambi:This is the exception class we raise when we decide to issue a redirect functions in apacheRequest will catch it and transform it into a redirect path string
  rhnFault
This is a data exception class that is raised when we detect bad data.
  rhnNotFound
Raised when we want return 404 Not Found
Variables [hide private]
  templateValues = {'hostname': 'rhn.redhat.com'}
  FaultArray = {1: 'This does not appear to be a valid username....
  Explain = '\n An error has occurred while processing your ...
  __package__ = 'backend.common'
Variables Details [hide private]

FaultArray

Value:
{1: 'This does not appear to be a valid username.',
 2: 'Invalid username and password combination.',
 3: 'This login is already taken, or the password is incorrect.',
 4: 'Permission denied.',
 6: 'Object not found.',
 8: 'Invalid System Digital ID.',
 9: 'Invalid System Credentials.',
 10: 'Could not retrieve user data from database.',
...

Explain

Value:
'''
     An error has occurred while processing your request. If this prob\
lem
     persists please enter a bug report at bugzilla.redhat.com.
     If you choose to submit the bug report, please be sure to include
     details of what you were trying to do when this error occurred an\
d
     details on how to reproduce this problem.
...