| 1 | package fr.sii.ogham.sms.sender.impl.cloudhopper.exception; | |
| 2 | ||
| 3 | import static fr.sii.ogham.core.CoreConstants.SERIAL_VERSION_UID; | |
| 4 | ||
| 5 | import fr.sii.ogham.sms.exception.message.EncodingException; | |
| 6 | import fr.sii.ogham.sms.message.Sms; | |
| 7 | ||
| 8 | /** | |
| 9 | * Ogham tries to guess the encoding of the {@link Sms}. This exception is | |
| 10 | * thrown if the automatic guessing has failed. | |
| 11 | * | |
| 12 | * @author Aurélien Baudet | |
| 13 | * | |
| 14 | */ | |
| 15 | public class GuessEncodingException extends EncodingException { | |
| 16 | private static final long serialVersionUID = SERIAL_VERSION_UID; | |
| 17 | ||
| 18 | private final String source; | |
| 19 | ||
| 20 | public GuessEncodingException(String message, String source) { | |
| 21 | super(message); | |
| 22 | this.source = source; | |
| 23 | } | |
| 24 | ||
| 25 | public String getSource() { | |
| 26 |
1
1. getSource : replaced return value with "" for fr/sii/ogham/sms/sender/impl/cloudhopper/exception/GuessEncodingException::getSource → NO_COVERAGE |
return source; |
| 27 | } | |
| 28 | } | |
Mutations | ||
| 26 |
1.1 |