added exception file

Added server side exception file.