Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1class SparkETLException(Exception): 

2 """Base class for exception raised from spark_etl package""" 

3 def __init__(self, message, cause=None): 

4 super(SparkETLException, self).__init__(message) 

5 self.cause = cause 

6 

7class SparkETLDeploymentFailure(SparkETLException): 

8 """spark-etl failed to deploy an application""" 

9 def __init__(self, message, cause=None): 

10 super(SparkETLDeploymentFailure, self).__init__(message, cause=cause) 

11 

12class SparkETLLaunchFailure(SparkETLException): 

13 """spark-etl failed to launch an application""" 

14 def __init__(self, message, cause=None): 

15 super(SparkETLLaunchFailure, self).__init__(message, cause=cause) 

16