Debian Codegraph @

core/java/android/os/LimitExceededException.java

raw symbols SCIP
1 /*
2 * Copyright (C) 2020 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 package android.os;
18
19 import android.annotation.NonNull;
20
21 /** Indicates that the app has exceeded a limit set by the System. */
22 public class LimitExceededException extends IllegalStateException {
23
24 /**
25 * Constructs a new {@code LimitExceededException} with {@code null} as its
26 * detail message. The cause is not initialized, and may subsequently be
27 * initialized by a call to {@link #initCause}.
28 */
29 public LimitExceededException() {
30 super();
31 }
32
33 /**
34 * Constructs a new {@code LimitExceededException} with the specified detail message.
35 * The cause is not initialized, and may subsequently be initialized by a
36 * call to {@link #initCause}.
37 *
38 * @param message the detail message which is saved for later retrieval
39 * by the {@link #getMessage()} method.
40 */
41 public LimitExceededException(@NonNull String message) {
42 super(message);
43 }
44 }