Added SeviceException class and all constructors.