public BACnetErrorException(BACnetServiceException e) { super(e.getMessage()); error = new BaseError((byte) 127, new BACnetError(e.getErrorClass(), e.getErrorCode())); }
public BACnetErrorException(byte choice, BACnetServiceException e) { super(e); error = new BaseError(choice, new BACnetError(e.getErrorClass(), e.getErrorCode())); }