Searched refs:ScopedException (Results 1 – 10 of 10) sorted by relevance
20 import android.databinding.tool.processing.ScopedException;47 public ScopedException getBindingException() { in getBindingException()48 List<ScopedException> errors = ScopedException.extractErrors(error); in getBindingException()66 public List<ScopedException> getBindingExceptions() { in getBindingExceptions()67 return ScopedException.extractErrors(error); in getBindingExceptions()
22 import android.databinding.tool.processing.ScopedException;112 private ScopedException singleFileErrorTest(String resource, String targetFile, in singleFileErrorTest()119 ScopedException scopedException = result.getBindingException(); in singleFileErrorTest()164 List<ScopedException> bindingExceptions = result.getBindingExceptions(); in testMultipleExceptionsInDifferentFiles()168 for (ScopedException exception : bindingExceptions) { in testMultipleExceptionsInDifferentFiles()216 ScopedException ex = singleFileErrorTest("/layout/undefined_variable_binding.xml", in testUndefinedVariable()225 ScopedException ex = singleFileErrorTest("/layout/invalid_setter_binding.xml", in testInvalidSetterBinding()275 ScopedException ex = singleFileErrorTest("/layout/invalid_variable_type.xml", in testInvalidVariableType()332 List<ScopedException> errors = ScopedException.extractErrors(result.error); in testIncludeInMerge()334 final ScopedException ex = errors.get(0); in testIncludeInMerge()[all …]
23 import android.databinding.tool.processing.ScopedException;50 List<ScopedException> exceptions = result.getBindingExceptions(); in testMultipleLayoutFilesWithNameMismatch()54 for (ScopedException exception : exceptions) { in testMultipleLayoutFilesWithNameMismatch()106 List<ScopedException> exceptions = result.getBindingExceptions(); in testMultipleLayoutFilesVariableMismatch()110 for (ScopedException exception : exceptions) { in testMultipleLayoutFilesVariableMismatch()159 List<ScopedException> exceptions = result.getBindingExceptions(); in testMultipleLayoutFilesImportMismatch()163 for (ScopedException exception : exceptions) { in testMultipleLayoutFilesImportMismatch()210 List<ScopedException> exceptions = result.getBindingExceptions(); in testSameIdInIncludeAndView()214 for (ScopedException exception : exceptions) { in testSameIdInIncludeAndView()
20 import android.databinding.tool.processing.ScopedException;86 if (t instanceof ScopedException) { in tryToThrowScoped()87 ScopedException ex = (ScopedException) t; in tryToThrowScoped()92 ScopedException ex = new ScopedException(fullMessage); in tryToThrowScoped()120 ScopedException ex = new ScopedException(message); in printMessage()
36 public class ScopedException extends RuntimeException { class46 public ScopedException(String message, Object... args) { in ScopedException() method in ScopedException53 ScopedException(String message, ScopedErrorReport scopedErrorReport) { in ScopedException() method in ScopedException103 public static ScopedException createFromOutput(String output) { in createFromOutput()140 return new ScopedException(message.trim(), in createFromOutput()144 public static List<ScopedException> extractErrors(String output) { in extractErrors()145 List<ScopedException> errors = new ArrayList<ScopedException>(); in extractErrors()
38 static List<ScopedException> sDeferredExceptions = new ArrayList<ScopedException>();60 public static void defer(ScopedException exception) { in defer()67 defer(new ScopedException(msg)); in registerErrorInternal()103 for (ScopedException ex : sDeferredExceptions) { in assertNoError()
20 import android.databinding.tool.processing.ScopedException;53 } catch (ScopedException ex) { in DataBinder()84 } catch (ScopedException ex){ in writerBaseClasses()102 } catch (ScopedException ex) { in writeBinders()
20 import android.databinding.tool.processing.ScopedException;36 ScopedException.encodeOutput(sCached.printEncodedError()); in load()
22 import android.databinding.tool.processing.ScopedException;62 ScopedException.encodeOutput(machineReadableOutput); in setPrintMachineReadableOutput()66 return ScopedException.issEncodeOutput(); in getPrintMachineReadableOutput()
18 import android.databinding.tool.processing.ScopedException;220 } catch (ScopedException ex) { in validateMultiResLayouts()267 } catch (ScopedException ex) { in validateMultiResLayouts()