MCPcopy Index your code
hub / github.com/dropbox/dropbox-sdk-java / route_exception_class

Method route_exception_class

core/generator/java/java.stoneg.py:2086–2094  ·  view source on GitHub ↗
(self, route)

Source from the content-addressed store, hash-verified

2084 return JavaClass('com.dropbox.core.DbxApiException')
2085
2086 def route_exception_class(self, route):
2087 assert isinstance(route, ApiRoute), repr(route)
2088
2089 if self.has_error(route):
2090 error = route.error_data_type
2091 error_class = self.java_class(error)
2092 return JavaClass(error_class.fq + 'Exception')
2093 else:
2094 return JavaClass('com.dropbox.core.DbxApiException')
2095
2096 def route_throws_classes(self, route):
2097 assert isinstance(route, ApiRoute), repr(route)

Callers 4

route_throws_classesMethod · 0.95

Calls 3

has_errorMethod · 0.95
java_classMethod · 0.95
JavaClassClass · 0.85

Tested by

no test coverage detected