Home
last modified time | relevance | path

Searched refs:Sl4aException (Results 1 – 11 of 11) sorted by relevance

/external/sl4a/Utils/src/com/googlecode/android_scripting/exception/
DSl4aException.java20 public class Sl4aException extends Exception { class
22 public Sl4aException(Exception e) { in Sl4aException() method in Sl4aException
26 public Sl4aException(String message) { in Sl4aException() method in Sl4aException
30 public Sl4aException(String message, Exception e) { in Sl4aException() method in Sl4aException
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/
DInterpreterUninstaller.java27 import com.googlecode.android_scripting.exception.Sl4aException;
50 AsyncTaskListener<Boolean> listener) throws Sl4aException { in InterpreterUninstaller()
61 throw new Sl4aException("Interpreter package name is empty."); in InterpreterUninstaller()
67 throw new Sl4aException("Interpreter description not provided."); in InterpreterUninstaller()
70 throw new Sl4aException("Interpreter not specified."); in InterpreterUninstaller()
73 throw new Sl4aException("Interpreter not installed."); in InterpreterUninstaller()
DInterpreterInstaller.java26 import com.googlecode.android_scripting.exception.Sl4aException;
152 AsyncTaskListener<Boolean> taskListener) throws Sl4aException { in InterpreterInstaller()
163 throw new Sl4aException("Interpreter package name is empty."); in InterpreterInstaller()
169 throw new Sl4aException("Interpreter description not provided."); in InterpreterInstaller()
172 throw new Sl4aException("Interpreter not specified."); in InterpreterInstaller()
175 throw new Sl4aException("Interpreter is installed."); in InterpreterInstaller()
261 throws Sl4aException { in extract()
265 protected AsyncTask<Void, Integer, Long> extractInterpreter() throws Sl4aException { in extractInterpreter()
272 protected AsyncTask<Void, Integer, Long> extractInterpreterExtras() throws Sl4aException { in extractInterpreterExtras()
278 protected AsyncTask<Void, Integer, Long> extractScripts() throws Sl4aException { in extractScripts()
DUrlDownloaderTask.java25 import com.googlecode.android_scripting.exception.Sl4aException;
150 throw new Sl4aException("Cannot open URL: " + mUrl, e); in download()
163 throw new Sl4aException(e); in download()
DZipExtractorTask.java26 import com.googlecode.android_scripting.exception.Sl4aException;
69 throws Sl4aException { in ZipExtractorTask()
75 throw new Sl4aException("Failed to make directories: " + mOutput.getAbsolutePath()); in ZipExtractorTask()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonRpcResult.java20 import com.googlecode.android_scripting.Sl4aException;
79 public static JSONObject error(Object id, Sl4aException sl4aException) throws JSONException { in error()
117 public static JSONObject error(Object id, Sl4aException sl4aException, Object details) in error()
130 Sl4aException exception = Sl4aErrors.JSON_RPC_UNKNOWN_EXCEPTION.getError(); in wtf()
/external/sl4a/Common/src/com/googlecode/android_scripting/
DSl4aErrors.java54 private final Sl4aException mSl4aException;
57 mSl4aException = new Sl4aException(errorCode, errorMessage); in Sl4aErrors()
63 public Sl4aException getError() { in getError()
DSl4aException.java25 public class Sl4aException extends Exception { class
30 Sl4aException(int errorCode, String errorMessage) { in Sl4aException() method in Sl4aException
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/activity/
DMain.java39 import com.googlecode.android_scripting.exception.Sl4aException;
61 Context context, AsyncTaskListener<Boolean> listener) throws Sl4aException; in getInterpreterInstaller()
65 throws Sl4aException; in getInterpreterUninstaller()
174 } catch (Sl4aException e) { in install()
190 } catch (Sl4aException e) { in uninstall()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DFacadeManager.java23 import com.googlecode.android_scripting.exception.Sl4aException;
70 throw new Sl4aException(String.format("%s requires API level %d, current level is %d", in invoke()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DTerminalManager.java39 import com.googlecode.android_scripting.exception.Sl4aException;
122 InterruptedException, Sl4aException { in openConnection()