blob: f99ca7918a33e68339060e7ccd708cf33faf98ef (
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
|
/*
* EncodeFailureException.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 encoder fails.
*
* @author Matt Windsor
*/
public class EncodeFailureException extends Exception {
/**
*
*/
private static final long serialVersionUID = 8651419347999155020L;
/**
* Construct a new EncodeFailureException with a chained exception.
*
* @param cause
* The exception to chain.
*/
public EncodeFailureException(Throwable cause) {
super("Encoding engine failed with reason: " + cause.getMessage(),
cause);
}
}
|