• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / iotdb / #10042

09 Sep 2023 11:52AM UTC coverage: 47.672% (-0.04%) from 47.711%
#10042

push

travis_ci

web-flow
[auth].fix cluster auth IT. (#11107)

80746 of 169380 relevant lines covered (47.67%)

0.48 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/exception/StartupException.java
1
/*
2
 * Licensed to the Apache Software Foundation (ASF) under one
3
 * or more contributor license agreements.  See the NOTICE file
4
 * distributed with this work for additional information
5
 * regarding copyright ownership.  The ASF licenses this file
6
 * to you under the Apache License, Version 2.0 (the
7
 * "License"); you may not use this file except in compliance
8
 * with the License.  You may obtain a copy of the License at
9
 *
10
 *     http://www.apache.org/licenses/LICENSE-2.0
11
 *
12
 * Unless required by applicable law or agreed to in writing,
13
 * software distributed under the License is distributed on an
14
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
 * KIND, either express or implied.  See the License for the
16
 * specific language governing permissions and limitations
17
 * under the License.
18
 */
19
package org.apache.iotdb.commons.exception;
20

21
import org.apache.iotdb.rpc.TSStatusCode;
22

23
public class StartupException extends IoTDBException {
24

25
  private static final long serialVersionUID = -8591716406230730147L;
26

27
  public StartupException(String name, String message) {
28
    super(
×
29
        String.format("Failed to start [%s], because [%s]", name, message),
×
30
        TSStatusCode.START_UP_ERROR.getStatusCode());
×
31
  }
×
32

33
  public StartupException(Throwable cause) {
34
    super(cause.getMessage(), TSStatusCode.START_UP_ERROR.getStatusCode());
×
35
  }
×
36

37
  public StartupException(String message) {
38
    super(message, TSStatusCode.START_UP_ERROR.getStatusCode());
×
39
  }
×
40
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc