Searched refs:InvalidVersionException (Results 1 – 4 of 4) sorted by relevance
77 public void checkVersion(VersionInfo plugin) throws InvalidVersionException { in checkVersion()87 throw new InvalidVersionException(aClass.getSimpleName() in checkVersion()91 throw new InvalidVersionException(aClass, v.mVersion < version.mVersion, in checkVersion()101 throw new InvalidVersionException("Missing required dependency " in checkVersion()120 public static class InvalidVersionException extends RuntimeException { class in VersionInfo123 public InvalidVersionException(String str, boolean tooNew) { in InvalidVersionException() method in VersionInfo.InvalidVersionException128 public InvalidVersionException(Class<?> cls, boolean tooNew, int expected, int actual) { in InvalidVersionException() method in VersionInfo.InvalidVersionException
45 import com.android.systemui.shared.plugins.VersionInfo.InvalidVersionException;361 } catch (InvalidVersionException e) { in handleLoadPlugin()409 throws InvalidVersionException { in checkVersion()416 throw new InvalidVersionException("Invalid legacy version", false); in checkVersion()
28 import com.android.systemui.shared.plugins.VersionInfo.InvalidVersionException;61 mThrown.expect(InvalidVersionException.class); in testIncorrectVersion()69 mThrown.expect(InvalidVersionException.class); in testMissingRequired()77 mThrown.expect(InvalidVersionException.class); in testMissingDependencies()
55 import com.android.systemui.shared.plugins.VersionInfo.InvalidVersionException;162 doThrow(new InvalidVersionException("", false)).when(mMockVersionInfo).checkVersion(any()); in testIncorrectVersion()