Skip to content

Package: InvalidChannelException

InvalidChannelException

nameinstructionbranchcomplexitylinemethod
InvalidChannelException(String)
M: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
InvalidChannelException(String, Throwable)
M: 6 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2016, 2020 Eurotech and/or its affiliates and others
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License v1.0
6: * which accompanies this distribution, and is available at
7: * http://www.eclipse.org/legal/epl-v10.html
8: *
9: * Contributors:
10: * Eurotech - initial API and implementation
11: *******************************************************************************/
12: package org.eclipse.kapua.service.datastore.internal.mediator;
13:
14: /**
15: * Invalid channel exception.<br>
16: * This exception is raised if the channel doesn't match validations
17: *
18: * @since 1.0
19: */
20: public class InvalidChannelException extends DatastoreException {
21:
22: private static final long serialVersionUID = 5211237236391747299L;
23:
24: /**
25: * Construct the exception with the provided message
26: *
27: * @param message
28: */
29: public InvalidChannelException(String message) {
30: super(DatastoreErrorCodes.INVALID_CHANNEL, message);
31: }
32:
33: /**
34: * Construct the exception with the provided message and throwable
35: *
36: * @param message
37: * @param t
38: */
39: public InvalidChannelException(String message, Throwable t) {
40: super(DatastoreErrorCodes.INVALID_CHANNEL, t, message);
41: }
42:
43: }