• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2020 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 package org.chromium.base.test.util;
6 
7 /** Exception indicating that a Criteria did not match expectations. */
8 public class CriteriaNotSatisfiedException extends AssertionError {
9     /**
10      * @param msg The reason the criteria was not met.
11      */
CriteriaNotSatisfiedException(String msg)12     public CriteriaNotSatisfiedException(String msg) {
13         super(msg);
14     }
15 
16     /**
17      * @param cause The underlying exception that prevented the Criteria.
18      */
CriteriaNotSatisfiedException(Throwable cause)19     public CriteriaNotSatisfiedException(Throwable cause) {
20         super(cause);
21     }
22 }
23