1 25 26 27 package soot; 28 29 public class CompilationDeathException extends RuntimeException 30 { 31 private String mMsg; 32 private int mStatus; 33 34 public static final int COMPILATION_ABORTED = 0; 35 public static final int COMPILATION_SUCCEEDED = 1; 36 37 public CompilationDeathException(String msg) 38 { 39 mMsg = msg; 40 mStatus = COMPILATION_ABORTED; 41 } 42 43 public CompilationDeathException(int status, String msg) 44 { 45 mMsg = msg; 46 mStatus = status; 47 } 48 49 public CompilationDeathException(int status) 50 { 51 mStatus = status; 52 } 53 54 public int getStatus() 55 { 56 return mStatus; 57 } 58 59 public String getMessage() 60 { 61 return mMsg; 62 } 63 } 64 | Popular Tags |