Searched refs:ScopedException (Results 1 – 10 of 10) sorted by relevance
20 import android.databinding.tool.processing.ScopedException;45 public ScopedException getBindingException() { in getBindingException()46 List<ScopedException> errors = ScopedException.extractErrors(error); in getBindingException()54 public List<ScopedException> getBindingExceptions() { in getBindingExceptions()55 return ScopedException.extractErrors(error); in getBindingExceptions()
28 import android.databinding.tool.processing.ScopedException;94 private ScopedException singleFileErrorTest(String resource, String targetFile, in singleFileErrorTest()101 ScopedException scopedException = result.getBindingException(); in singleFileErrorTest()131 List<ScopedException> bindingExceptions = result.getBindingExceptions(); in testMultipleExceptionsInDifferentFiles()135 for (ScopedException exception : bindingExceptions) { in testMultipleExceptionsInDifferentFiles()183 ScopedException ex = singleFileErrorTest("/layout/undefined_variable_binding.xml", in testUndefinedVariable()192 ScopedException ex = singleFileErrorTest("/layout/invalid_setter_binding.xml", in testInvalidSetterBinding()214 ScopedException ex = singleFileErrorTest("/layout/invalid_variable_type.xml", in testInvalidVariableType()271 List<ScopedException> errors = ScopedException.extractErrors(result.error); in testIncludeInMerge()273 final ScopedException ex = errors.get(0); in testIncludeInMerge()
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()215 for (ScopedException exception : exceptions) { in testSameIdInIncludeAndView()
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()
37 static List<ScopedException> sDeferredExceptions = new ArrayList<ScopedException>();59 public static void defer(ScopedException exception) { in defer()66 defer(new ScopedException(msg)); in registerErrorInternal()102 for (ScopedException ex : sDeferredExceptions) { in assertNoError()
19 import android.databinding.tool.processing.ScopedException;84 if (t instanceof ScopedException) { in tryToThrowScoped()85 ScopedException ex = (ScopedException) t; in tryToThrowScoped()90 ScopedException ex = new ScopedException(fullMessage); in tryToThrowScoped()
20 import android.databinding.tool.processing.ScopedException;50 } catch (ScopedException ex) { in DataBinder()81 } catch (ScopedException ex){ in writerBaseClasses()98 } 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;64 ScopedException.encodeOutput(machineReadableOutput); in setPrintMachineReadableOutput()68 return ScopedException.issEncodeOutput(); in getPrintMachineReadableOutput()
18 import android.databinding.tool.processing.ScopedException;220 } catch (ScopedException ex) { in validateMultiResLayouts()267 } catch (ScopedException ex) { in validateMultiResLayouts()