blob: 3047fd7a426981a5953a6451898e9e6ff181e75e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
* DecodeFailureException.java
* ---------------------------
*
* Part of the URY Common Package
*
* V0.00 2011/03/23
*
* (C) 2011 URY Computing
*/
package uk.org.ury.common.protocol.exceptions;
/**
* Exception thrown when the protocol decoder fails.
*
* @author Matt Windsor
*/
public class DecodeFailureException extends Exception {
/**
*
*/
private static final long serialVersionUID = -4080891009444990296L;
/**
* Construct a new DecodeFailureException with a chained exception.
*
* @param cause
* The exception to chain.
*/
public DecodeFailureException(Throwable cause) {
super("Decoding engine failed with reason: " + cause.getMessage(),
cause);
}
}
|