public void setShortMessage(String value) throws WrongLengthOfStringException { shortMessage.setMessage(value); setSmLength((short) shortMessage.getLength()); }
public void setShortMessage(String value, String encoding) throws WrongLengthOfStringException, UnsupportedEncodingException { shortMessage.setMessage(value, encoding); setSmLength((short) shortMessage.getLength()); }
public void setShortMessageData(ByteBuffer value) throws PDUException, NotEnoughDataInByteBufferException, TerminatingZeroNotFoundException { shortMessage.setData(value); setSmLength((short) shortMessage.getLength()); }