自定义 Exception

CG errors.

exception rayvision_api.exception.AnalyseFailError

基类:AnalyzeError

Analyse Fail Error.

exception rayvision_api.exception.AnalyzeError

基类:Exception

Analyze has a damage error.

exception rayvision_api.exception.CGExeNotExistError

基类:AnalyzeError

No errors in CG boot.

exception rayvision_api.exception.CGFileNameIllegalError

基类:AnalyzeError

CG File Name Illegal Error.

exception rayvision_api.exception.CGFileNotExistsError

基类:AnalyzeError

CG file does not exist error.

exception rayvision_api.exception.CGFileZipFailError

基类:AnalyzeError

CG file compression failed error.

exception rayvision_api.exception.CompressionFailedError

基类:Exception

Compression failed error.

exception rayvision_api.exception.DecompressionFailedError

基类:Exception

Unzip failed error.

exception rayvision_api.exception.FileNameContainsChineseError

基类:AnalyzeError

File Name Contains Chinese Error.

exception rayvision_api.exception.GetCGLocationError

基类:AnalyzeError

Error getting CG local path.

exception rayvision_api.exception.GetCGVersionError

基类:AnalyzeError

Error getting CG version.

exception rayvision_api.exception.GetRendererError

基类:AnalyzeError

Get renderer error.

exception rayvision_api.exception.HardwareConfigIdError

基类:Exception

Hardware configuration id are invalid.

exception rayvision_api.exception.MaxDamageError

基类:AnalyzeError

Max has a damage error.

exception rayvision_api.exception.MaxExeNotExistError

基类:AnalyzeError

There are no errors in the Max startup file.

exception rayvision_api.exception.MultiScatterAndVrayConfilictError

基类:AnalyzeError

Multi scatter and vray Confilict error.

exception rayvision_api.exception.NotSupportCGSoftwareError

基类:Exception

The CG software is not supported.

exception rayvision_api.exception.NotSupportPluginError

基类:Exception

The plugin is not supported.

exception rayvision_api.exception.ProjectMaxVersionError

基类:AnalyzeError

Project Max version error.

exception rayvision_api.exception.RayvisionAPIError(error_code, error, request)

基类:RayvisionError

Raise RayVisionAPIError.

exception rayvision_api.exception.RayvisionError(error_code, error, *args, **kwargs)

基类:Exception

Raise RayvisionError if something wrong.

class rayvision_api.exception.RayvisionHTTPErrorProcessor

基类:HTTPErrorProcessor

Process HTTP error responses.

Inherit HTTPErrorProcessor in urllib2.

http_response(request, response)

Override the http_response method of HTTPErrorProcessor.

Process the response,when it is a bad Request,the corresponding exception is reported.

参数:
  • request (urllib2.Request) -- Request object.

  • response (opener.open) -- Response object.

返回:

Abnormal response.

返回类型:

Exception

exception rayvision_api.exception.RayvisonTaskIdError(error_code, error)

基类:RayvisionError

Raise RayVisonTaskIdError.

exception rayvision_api.exception.UploadFileNotSupportError

基类:Exception

Upload_file_name_only support does_not_support error.

exception rayvision_api.exception.VersionNotMatchError

基类:AnalyzeError

Version not match error.