Written an Exception class for invalid characters for a type name
replaced die 'string...' with die exceptionobject...